(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{"+aGp":function(t,e,r){"use strict";var n=/([A-Z])/g;t.exports=function(t){return t.replace(n,"-$1").toLowerCase()}},"/y+l":function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var i=r("8uQm"),o=r("JL7T"),u=r("dyxW"),a=r("U84a"),s=r("yxyD"),c=r("2NuI"),l=function(t,e){return{key:t.getKey(),text:t.getText(),type:t.getType(),depth:t.getDepth(),inlineStyleRanges:s(t),entityRanges:a(t,e),data:t.getData().toObject()}},f=function(t,e,r,u){if(t instanceof i)r.push(l(t,e));else{t instanceof o||c(!1);var a=t.getParentKey(),s=u[t.getKey()]=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},i=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),i.forEach((function(e){n(t,e,r[e])}))}return t}({},l(t,e),{children:[]});a?u[a].children.push(s):r.push(s)}};t.exports=function(t){var e={entityMap:{},blocks:[]};return e=function(t,e){var r=e.entityMap,n=[],i={},o={},a=0;return t.getBlockMap().forEach((function(t){t.findEntityRanges((function(t){return null!==t.getEntity()}),(function(e){var n=t.getEntityAt(e),i=u.stringify(n);o[i]||(o[i]=n,r[i]="".concat(a),a++)})),f(t,r,n,i)})),{blocks:n,entityMap:r}}(t,e),e=function(t,e){var r=e.blocks,n=e.entityMap,i={};return Object.keys(n).forEach((function(e,r){var n=t.getEntity(u.unstringify(e));i[r]={type:n.getType(),mutability:n.getMutability(),data:n.getData()}})),{blocks:r,entityMap:i}}(t,e)}},"/y0H":function(t,e,r){"use strict";t.exports={getRemovalRange:function(t,e,r,n,i){var o=r.split(" ");o=o.map((function(t,e){if("forward"===i){if(e>0)return" "+t}else if(e<o.length-1)return t+" ";return t}));for(var u,a=n,s=null,c=null,l=0;l<o.length;l++){if(t<(u=a+o[l].length)&&a<e)null!==s||(s=a),c=u;else if(null!==s)break;a=u}var f=n+r.length,p=s===n,h=c===f;return(!p&&h||p&&!h)&&("forward"===i?c!==f&&c++:s!==n&&s--),{start:s,end:c}}}},"0IKU":function(t,e,r){"use strict";var n=r("2NuI"),i=r("OLzA");t.exports=function(t){var e=t.editorContainer;return e||n(!1),i(e.firstChild)||n(!1),e.firstChild}},"0RQb":function(t,e,r){"use strict";var n=r("3sOJ");t.exports=function(t){var e=t.getSelection(),r=e.getEndKey(),i=t.getCurrentContent().getBlockForKey(r).getLength();return n.set(t,{selection:e.merge({anchorKey:r,anchorOffset:i,focusKey:r,focusOffset:i,isBackward:!1}),forceSelection:!0})}},"0TRD":function(t,e,r){"use strict";t.exports={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}}},"158f":function(t,e,r){"use strict";var n=r("CYTE"),i=r("2NuI");var o=n.isBrowser("Chrome")?function(t){for(var e=t.cloneRange(),r=[],n=t.endContainer;null!=n;n=n.parentNode){var o=n===t.commonAncestorContainer;o?e.setStart(t.startContainer,t.startOffset):e.setStart(e.endContainer,0);var u,a=Array.from(e.getClientRects());if(r.push(a),o)return r.reverse(),(u=[]).concat.apply(u,r);e.setEndBefore(n)}i(!1)}:function(t){return Array.from(t.getClientRects())};t.exports=o},"1Jbx":function(t,e,r){"use strict";var n=r("CYTE"),i=r("h/2P"),o=r("JI+E"),u=r("jH4x"),a=r("YDMw"),s=r("e/Ok"),c=r("cmQj"),l=r("Y/kH"),f=r("pg4M"),p=r("jyDg"),h=r("C9ER"),g=r("kDkJ"),d=r("WJOU"),y=n.isBrowser("Chrome"),v=n.isBrowser("Firefox"),m=y||v?d:function(t){},_={onBeforeInput:i,onBlur:o,onCompositionStart:u,onCopy:a,onCut:s,onDragOver:c,onDragStart:l,onFocus:f,onInput:p,onKeyDown:h,onPaste:g,onSelect:d,onMouseUp:m,onKeyUp:m};t.exports=_},"1qq2":function(t,e,r){"use strict";var n;function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){o(t,e,r[e])}))}return t}function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var u=r("lFJn"),a=r("8uQm"),s=r("JL7T"),c=r("rAV9"),l=r("TzU/"),f=r("Z9sL"),p=r("YVIB"),h=r("rJY1"),g=r("xocI"),d=r("cwFY"),y=r("JPcv"),v=y.List,m=y.Map,_=y.OrderedSet,S=r("7/2Y"),b=r("aB02"),w=r("OLzA"),k=r("GMIm"),x=d("draft_tree_data_support"),C=new RegExp("\r","g"),E=new RegExp("\n","g"),O=new RegExp("^\n","g"),D=new RegExp("&nbsp;","g"),K=new RegExp("&#13;?","g"),T=new RegExp("&#8203;?","g"),M=["bold","bolder","500","600","700","800","900"],I=["light","lighter","normal","100","200","300","400"],A=["className","href","rel","target","title"],B=["alt","className","height","src","width"],L=(o(n={},p("public/DraftStyleDefault/depth0"),0),o(n,p("public/DraftStyleDefault/depth1"),1),o(n,p("public/DraftStyleDefault/depth2"),2),o(n,p("public/DraftStyleDefault/depth3"),3),o(n,p("public/DraftStyleDefault/depth4"),4),n),R=m({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),F=function(t){var e={};return t.mapKeys((function(t,r){var n=[r.element];void 0!==r.aliasedElements&&n.push.apply(n,r.aliasedElements),n.forEach((function(r){void 0===e[r]?e[r]=t:"string"==typeof e[r]?e[r]=[e[r],t]:e[r].push(t)}))})),m(e)},N=function(t){if(w(t)&&t.style.fontFamily.includes("monospace"))return"CODE";return null},P=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(L).some((function(r){t.classList.contains(r)&&(e=L[r])})),e},j=function(t){if(!S(t))return!1;var e=t;if(!e.href||"http:"!==e.protocol&&"https:"!==e.protocol&&"mailto:"!==e.protocol&&"tel:"!==e.protocol)return!1;try{new f(e.href);return!0}catch(t){return!1}},z=function(t){if(!k(t))return!1;var e=t;return!(!e.attributes.getNamedItem("src")||!e.attributes.getNamedItem("src").value)},U=function(t,e){if(!w(t))return e;var r=t,n=r.style.fontWeight,i=r.style.fontStyle,o=r.style.textDecoration;return e.withMutations((function(t){M.indexOf(n)>=0?t.add("BOLD"):I.indexOf(n)>=0&&t.remove("BOLD"),"italic"===i?t.add("ITALIC"):"normal"===i&&t.remove("ITALIC"),"underline"===o&&t.add("UNDERLINE"),"line-through"===o&&t.add("STRIKETHROUGH"),"none"===o&&(t.remove("UNDERLINE"),t.remove("STRIKETHROUGH"))}))},J=function(t){return"ul"===t||"ol"===t},q=function(){function t(t,e){o(this,"characterList",v()),o(this,"currentBlockType","unstyled"),o(this,"currentDepth",0),o(this,"currentEntity",null),o(this,"currentText",""),o(this,"wrapper",null),o(this,"blockConfigs",[]),o(this,"contentBlocks",[]),o(this,"entityMap",l),o(this,"blockTypeMap",void 0),o(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=t,this.disambiguate=e}var e=t.prototype;return e.clear=function(){this.characterList=v(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=l,this.wrapper=null,this.contentBlocks=[]},e.addDOMNode=function(t){var e;return this.contentBlocks=[],this.currentDepth=0,(e=this.blockConfigs).push.apply(e,this._toBlockConfigs([t],_())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},e.getContentBlocks=function(){return 0===this.contentBlocks.length&&(x?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},e._makeBlockConfig=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.key||h(),r=i({key:e,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:v(),prevSibling:null,nextSibling:null,childConfigs:[]},t);return this.characterList=v(),this.currentBlockType="unstyled",this.currentText="",r},e._toBlockConfigs=function(t,e){for(var r=[],n=0;n<t.length;n++){var i=t[n],o=i.nodeName.toLowerCase();if("body"===o||J(o)){this._trimCurrentText(),""!==this.currentText&&r.push(this._makeBlockConfig());var u=this.currentDepth,a=this.wrapper;J(o)&&(this.wrapper=o,J(a)&&this.currentDepth++),r.push.apply(r,this._toBlockConfigs(Array.from(i.childNodes),e)),this.currentDepth=u,this.wrapper=a}else{var s=this.blockTypeMap.get(o);if(void 0===s)if("#text"!==o)if("br"!==o)if(z(i))this._addImgNode(i,e);else if(j(i))this._addAnchorNode(i,r,e);else{var c=e;R.has(o)&&(c=c.add(R.get(o))),c=U(i,c);var l=N(i);null!=l&&(c=c.add(l)),r.push.apply(r,this._toBlockConfigs(Array.from(i.childNodes),c))}else this._addBreakNode(i,e);else this._addTextNode(i,e);else{this._trimCurrentText(),""!==this.currentText&&r.push(this._makeBlockConfig());var f=this.currentDepth,p=this.wrapper;if(this.wrapper="pre"===o?"pre":this.wrapper,"string"!=typeof s&&(s=this.disambiguate(o,this.wrapper)||s[0]||"unstyled"),!x&&w(i)&&("unordered-list-item"===s||"ordered-list-item"===s)){var g=i;this.currentDepth=P(g,this.currentDepth)}var d=h(),y=this._toBlockConfigs(Array.from(i.childNodes),e);this._trimCurrentText(),r.push(this._makeBlockConfig({key:d,childConfigs:y,type:s})),this.currentDepth=f,this.wrapper=p}}}return r},e._appendText=function(t,e){var r;this.currentText+=t;var n=u.create({style:e,entity:this.currentEntity});this.characterList=(r=this.characterList).push.apply(r,Array(t.length).fill(n))},e._trimCurrentText=function(){var t=this.currentText.length,e=t-this.currentText.trimLeft().length,r=this.currentText.trimRight().length,n=this.characterList.findEntry((function(t){return null!==t.getEntity()}));(e=void 0!==n?Math.min(e,n[0]):e)>(r=void 0!==(n=this.characterList.reverse().findEntry((function(t){return null!==t.getEntity()})))?Math.max(r,t-n[0]):r)?(this.currentText="",this.characterList=v()):(this.currentText=this.currentText.slice(e,r),this.characterList=this.characterList.slice(e,r))},e._addTextNode=function(t,e){var r=t.textContent;""===r.trim()&&"pre"!==this.wrapper&&(r=" "),"pre"!==this.wrapper&&(r=(r=r.replace(O,"")).replace(E," ")),this._appendText(r,e)},e._addBreakNode=function(t,e){b(t)&&this._appendText("\n",e)},e._addImgNode=function(t,e){if(k(t)){var r=t,n={};B.forEach((function(t){var e=r.getAttribute(t);e&&(n[t]=e)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",n),d("draftjs_fix_paste_for_img")?"presentation"!==r.getAttribute("role")&&this._appendText("📷",e):this._appendText("📷",e),this.currentEntity=null}},e._addAnchorNode=function(t,e,r){if(S(t)){var n=t,i={};A.forEach((function(t){var e=n.getAttribute(t);e&&(i[t]=e)})),i.url=new f(n.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",i||{}),e.push.apply(e,this._toBlockConfigs(Array.from(t.childNodes),r)),this.currentEntity=null}},e._toContentBlocks=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=t.length-1,n=0;n<=r;n++){var o=t[n];o.parent=e,o.prevSibling=n>0?t[n-1].key:null,o.nextSibling=n<r?t[n+1].key:null,o.children=v(o.childConfigs.map((function(t){return t.key}))),this.contentBlocks.push(new s(i({},o))),this._toContentBlocks(o.childConfigs,o.key)}},e._hoistContainersInBlockConfigs=function(t){var e=this;return v(t).flatMap((function(t){return"unstyled"!==t.type||""!==t.text?[t]:e._hoistContainersInBlockConfigs(t.childConfigs)}))},e._toFlatContentBlocks=function(t){var e=this;this._hoistContainersInBlockConfigs(t).forEach((function(t){var r=e._extractTextFromBlockConfigs(t.childConfigs),n=r.text,o=r.characterList;e.contentBlocks.push(new a(i({},t,{text:t.text+n,characterList:t.characterList.concat(o)})))}))},e._extractTextFromBlockConfigs=function(t){for(var e=t.length-1,r="",n=v(),i=0;i<=e;i++){var o=t[i];r+=o.text,n=n.concat(o.characterList),""!==r&&"unstyled"!==o.type&&(r+="\n",n=n.push(n.last()));var u=this._extractTextFromBlockConfigs(o.childConfigs);r+=u.text,n=n.concat(u.characterList)}return{text:r,characterList:n}},t}();t.exports=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c,n=e(t=t.trim().replace(C,"").replace(D," ").replace(K,"").replace(T,""));if(!n)return null;var i=F(r),o=function(t,e){return"li"===t?"ol"===e?"ordered-list-item":"unordered-list-item":null};return new q(i,o).addDOMNode(n).getContentBlocks()}},"3Br+":function(t,e,r){"use strict";var n=r("3sOJ"),i=r("jLRO"),o=r("kWjT"),u=r("8d//");t.exports=function(t){var e=u(t,(function(t){var e=t.getSelection(),r=t.getCurrentContent(),n=e.getAnchorKey(),u=e.getAnchorOffset(),a=r.getBlockForKey(n).getText()[u-1];return o(t,a?i.getUTF16Length(a,0):1)}),"backward");if(e===t.getCurrentContent())return t;var r=t.getSelection();return n.push(t,e.set("selectionBefore",r),r.isCollapsed()?"backspace-character":"remove-range")}},"3sOJ":function(t,e,r){"use strict";function n(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){i(t,e,r[e])}))}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r("L0q3"),u=r("LpQA"),a=r("VSmT"),s=r("hMpd"),c=r("JPcv"),l=c.OrderedSet,f=c.Record,p=c.Stack,h=c.OrderedMap,g=c.List,d=f({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:p(),selection:null,treeMap:null,undoStack:p()}),y=function(){e.createEmpty=function(t){return this.createWithText("",t)},e.createWithText=function(t,r){return e.createWithContent(u.createFromText(t),r)},e.createWithContent=function(t,r){if(0===t.getBlockMap().count())return e.createEmpty(r);var n=t.getBlockMap().first().getKey();return e.create({currentContent:t,undoStack:p(),redoStack:p(),decorator:r||null,selection:s.createEmpty(n)})},e.create=function(t){var r=t.currentContent,i=n({},t,{treeMap:m(r,t.decorator),directionMap:a.getDirectionMap(r)});return new e(new d(i))},e.fromJS=function(t){return new e(new d(n({},t,{directionMap:null!=t.directionMap?h(t.directionMap):t.directionMap,inlineStyleOverride:null!=t.inlineStyleOverride?l(t.inlineStyleOverride):t.inlineStyleOverride,nativelyRenderedContent:null!=t.nativelyRenderedContent?u.fromJS(t.nativelyRenderedContent):t.nativelyRenderedContent,redoStack:null!=t.redoStack?p(t.redoStack.map((function(t){return u.fromJS(t)}))):t.redoStack,selection:null!=t.selection?new s(t.selection):t.selection,treeMap:null!=t.treeMap?h(t.treeMap).map((function(t){return g(t).map((function(t){return o.fromJS(t)}))})):t.treeMap,undoStack:null!=t.undoStack?p(t.undoStack.map((function(t){return u.fromJS(t)}))):t.undoStack,currentContent:u.fromJS(t.currentContent)})))},e.set=function(t,r){return new e(t.getImmutable().withMutations((function(e){var n=e.get("decorator"),i=n;null===r.decorator?i=null:r.decorator&&(i=r.decorator);var u=r.currentContent||t.getCurrentContent();if(i!==n){var a,s=e.get("treeMap");return a=i&&n?function(t,e,r,n,i){return r.merge(e.toSeq().filter((function(e){return n.getDecorations(e,t)!==i.getDecorations(e,t)})).map((function(e){return o.generate(t,e,n)})))}(u,u.getBlockMap(),s,i,n):m(u,i),void e.merge({decorator:i,treeMap:a,nativelyRenderedContent:null})}u!==t.getCurrentContent()&&e.set("treeMap",function(t,e,r,n){var i=t.getCurrentContent().set("entityMap",r),u=i.getBlockMap();return t.getImmutable().get("treeMap").merge(e.toSeq().filter((function(t,e){return t!==u.get(e)})).map((function(t){return o.generate(i,t,n)})))}(t,u.getBlockMap(),u.getEntityMap(),i)),e.merge(r)})))};var t=e.prototype;function e(t){i(this,"_immutable",void 0),this._immutable=t}return t.toJS=function(){return this.getImmutable().toJS()},t.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},t.getCurrentContent=function(){return this.getImmutable().get("currentContent")},t.getUndoStack=function(){return this.getImmutable().get("undoStack")},t.getRedoStack=function(){return this.getImmutable().get("redoStack")},t.getSelection=function(){return this.getImmutable().get("selection")},t.getDecorator=function(){return this.getImmutable().get("decorator")},t.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},t.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},t.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},t.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},t.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},e.setInlineStyleOverride=function(t,r){return e.set(t,{inlineStyleOverride:r})},t.getCurrentInlineStyle=function(){var t=this.getInlineStyleOverride();if(null!=t)return t;var e=this.getCurrentContent(),r=this.getSelection();return r.isCollapsed()?function(t,e){var r=e.getStartKey(),n=e.getStartOffset(),i=t.getBlockForKey(r);if(n>0)return i.getInlineStyleAt(n-1);if(i.getLength())return i.getInlineStyleAt(0);return S(t,r)}(e,r):function(t,e){var r=e.getStartKey(),n=e.getStartOffset(),i=t.getBlockForKey(r);if(n<i.getLength())return i.getInlineStyleAt(n);if(n>0)return i.getInlineStyleAt(n-1);return S(t,r)}(e,r)},t.getBlockTree=function(t){return this.getImmutable().getIn(["treeMap",t])},t.isSelectionAtStartOfContent=function(){var t=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(t,0,0)},t.isSelectionAtEndOfContent=function(){var t=this.getCurrentContent().getBlockMap().last(),e=t.getLength();return this.getSelection().hasEdgeWithin(t.getKey(),e,e)},t.getDirectionMap=function(){return this.getImmutable().get("directionMap")},e.acceptSelection=function(t,e){return v(t,e,!1)},e.forceSelection=function(t,e){return e.getHasFocus()||(e=e.set("hasFocus",!0)),v(t,e,!0)},e.moveSelectionToEnd=function(t){var r=t.getCurrentContent().getLastBlock(),n=r.getKey(),i=r.getLength();return e.acceptSelection(t,new s({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i,isBackward:!1}))},e.moveFocusToEnd=function(t){var r=e.moveSelectionToEnd(t);return e.forceSelection(r,r.getSelection())},e.push=function(t,r,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(t.getCurrentContent()===r)return t;var o=a.getDirectionMap(r,t.getDirectionMap());if(!t.getAllowUndo())return e.set(t,{currentContent:r,directionMap:o,lastChangeType:n,selection:r.getSelectionAfter(),forceSelection:i,inlineStyleOverride:null});var u=t.getSelection(),s=t.getCurrentContent(),c=t.getUndoStack(),l=r;u!==s.getSelectionAfter()||_(t,n)?(c=c.push(s),l=l.set("selectionBefore",u)):"insert-characters"!==n&&"backspace-character"!==n&&"delete-character"!==n||(l=l.set("selectionBefore",s.getSelectionBefore()));var f=t.getInlineStyleOverride(),h=["adjust-depth","change-block-type","split-block"];-1===h.indexOf(n)&&(f=null);var g={currentContent:l,directionMap:o,undoStack:c,redoStack:p(),lastChangeType:n,selection:r.getSelectionAfter(),forceSelection:i,inlineStyleOverride:f};return e.set(t,g)},e.undo=function(t){if(!t.getAllowUndo())return t;var r=t.getUndoStack(),n=r.peek();if(!n)return t;var i=t.getCurrentContent(),o=a.getDirectionMap(n,t.getDirectionMap());return e.set(t,{currentContent:n,directionMap:o,undoStack:r.shift(),redoStack:t.getRedoStack().push(i),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:i.getSelectionBefore()})},e.redo=function(t){if(!t.getAllowUndo())return t;var r=t.getRedoStack(),n=r.peek();if(!n)return t;var i=t.getCurrentContent(),o=a.getDirectionMap(n,t.getDirectionMap());return e.set(t,{currentContent:n,directionMap:o,undoStack:t.getUndoStack().push(i),redoStack:r.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:n.getSelectionAfter()})},t.getImmutable=function(){return this._immutable},e}();function v(t,e,r){return y.set(t,{selection:e,forceSelection:r,nativelyRenderedContent:null,inlineStyleOverride:null})}function m(t,e){return t.getBlockMap().map((function(r){return o.generate(t,r,e)})).toOrderedMap()}function _(t,e){return e!==t.getLastChangeType()||"insert-characters"!==e&&"backspace-character"!==e&&"delete-character"!==e}function S(t,e){var r=t.getBlockMap().reverse().skipUntil((function(t,r){return r===e})).skip(1).skipUntil((function(t,e){return t.getLength()})).first();return r?r.getInlineStyleAt(r.getLength()-1):l()}t.exports=y},"4XrY":function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var i=r("CYTE"),o=r("kc9Y"),u=r("WaGC"),a=r("JPcv"),s=r("2NuI"),c=r("gWRK"),l=a.Map,f={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},p=i.isBrowser("IE <= 11"),h=function(){function t(t){var e=this;n(this,"observer",void 0),n(this,"container",void 0),n(this,"mutations",void 0),n(this,"onCharData",void 0),this.container=t,this.mutations=l();var r=u(t);r.MutationObserver&&!p?this.observer=new r.MutationObserver((function(t){return e.registerMutations(t)})):this.onCharData=function(t){t.target instanceof Node||s(!1),e.registerMutation({type:"characterData",target:t.target})}}var e=t.prototype;return e.start=function(){this.observer?this.observer.observe(this.container,f):this.container.addEventListener("DOMCharacterDataModified",this.onCharData)},e.stopAndFlushMutations=function(){var t=this.observer;t?(this.registerMutations(t.takeRecords()),t.disconnect()):this.container.removeEventListener("DOMCharacterDataModified",this.onCharData);var e=this.mutations;return this.mutations=l(),e},e.registerMutations=function(t){for(var e=0;e<t.length;e++)this.registerMutation(t[e])},e.getMutationTextContent=function(t){var e=t.type,r=t.target,n=t.removedNodes;if("characterData"===e){if(""!==r.textContent)return p?r.textContent.replace("\n",""):r.textContent}else if("childList"===e){if(n&&n.length)return"";if(""!==r.textContent)return r.textContent}return null},e.registerMutation=function(t){var e=this.getMutationTextContent(t);if(null!=e){var r=c(o(t.target));this.mutations=this.mutations.set(r,e)}},t}();t.exports=h},"5RSi":function(t,e,r){"use strict";var n=r("Iq8E"),i=r("gWRK");t.exports=function(t,e,r,o,u){var a=i(t.getSelection());if(!e||!o)return a;var s=n.decode(e),c=s.blockKey,l=t.getBlockTree(c),f=l&&l.getIn([s.decoratorKey,"leaves",s.leafKey]),p=n.decode(o),h=p.blockKey,g=t.getBlockTree(h),d=g&&g.getIn([p.decoratorKey,"leaves",p.leafKey]);if(!f||!d)return a;var y=f.get("start"),v=d.get("start"),m=f?y+r:null,_=d?v+u:null;if(a.getAnchorKey()===c&&a.getAnchorOffset()===m&&a.getFocusKey()===h&&a.getFocusOffset()===_)return a;var S=!1;if(c===h){var b=f.get("end"),w=d.get("end");S=v===y&&w===b?u<r:v<y}else{S=t.getCurrentContent().getBlockMap().keySeq().skipUntil((function(t){return t===c||t===h})).first()===h}return a.merge({anchorKey:c,anchorOffset:m,focusKey:h,focusOffset:_,isBackward:S})}},"6Xrj":function(t,e,r){"use strict";function n(t,e){var r=i.get(t,e);return"auto"===r||"scroll"===r}var i={get:r("S5bm"),getScrollParent:function(t){if(!t)return null;for(var e=t.ownerDocument;t&&t!==e.body;){if(n(t,"overflow")||n(t,"overflowY")||n(t,"overflowX"))return t;t=t.parentNode}return e.defaultView||e.parentWindow}};t.exports=i},"6tyx":function(t,e,r){"use strict";(function(e){var n=r("MgzW");function i(){return(i=n||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){a(t,e,r[e])}))}return t}function u(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function s(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var c=r("rAV9"),l=r("0TRD"),f=r("jl1W"),p=r("Idtq"),h=r("ISR0"),g=r("1Jbx"),d=r("ubb0"),y=r("Hdlu"),v=r("m75S"),m=r("3sOJ"),_=r("q1tI"),S=r("prOm"),b=r("6Xrj"),w=r("CYTE"),k=r("YVIB"),x=r("rJY1"),C=r("AyB5"),E=r("DeIs"),O=r("cwFY"),D=r("2NuI"),K=r("OLzA"),T=r("gWRK"),M=w.isBrowser("IE"),I=!M,A={edit:g,composite:f,drag:h,cut:null,render:null},B=!1,L=function(t){function e(){return t.apply(this,arguments)||this}s(e,t);var r=e.prototype;return r.render=function(){return null},r.componentDidMount=function(){this._update()},r.componentDidUpdate=function(){this._update()},r._update=function(){var t=this.props.editor;t._latestEditorState=this.props.editorState,t._blockSelectEvents=!0},e}(_.Component),R=function(t){function r(e){var r;return a(u(r=t.call(this,e)||this),"_blockSelectEvents",void 0),a(u(r),"_clipboard",void 0),a(u(r),"_handler",void 0),a(u(r),"_dragCount",void 0),a(u(r),"_internalDrag",void 0),a(u(r),"_editorKey",void 0),a(u(r),"_placeholderAccessibilityID",void 0),a(u(r),"_latestEditorState",void 0),a(u(r),"_latestCommittedEditorState",void 0),a(u(r),"_pendingStateFromBeforeInput",void 0),a(u(r),"_onBeforeInput",void 0),a(u(r),"_onBlur",void 0),a(u(r),"_onCharacterData",void 0),a(u(r),"_onCompositionEnd",void 0),a(u(r),"_onCompositionStart",void 0),a(u(r),"_onCopy",void 0),a(u(r),"_onCut",void 0),a(u(r),"_onDragEnd",void 0),a(u(r),"_onDragOver",void 0),a(u(r),"_onDragStart",void 0),a(u(r),"_onDrop",void 0),a(u(r),"_onInput",void 0),a(u(r),"_onFocus",void 0),a(u(r),"_onKeyDown",void 0),a(u(r),"_onKeyPress",void 0),a(u(r),"_onKeyUp",void 0),a(u(r),"_onMouseDown",void 0),a(u(r),"_onMouseUp",void 0),a(u(r),"_onPaste",void 0),a(u(r),"_onSelect",void 0),a(u(r),"editor",void 0),a(u(r),"editorContainer",void 0),a(u(r),"focus",void 0),a(u(r),"blur",void 0),a(u(r),"setMode",void 0),a(u(r),"exitCurrentMode",void 0),a(u(r),"restoreEditorDOM",void 0),a(u(r),"setClipboard",void 0),a(u(r),"getClipboard",void 0),a(u(r),"getEditorKey",void 0),a(u(r),"update",void 0),a(u(r),"onDragEnter",void 0),a(u(r),"onDragLeave",void 0),a(u(r),"_handleEditorContainerRef",(function(t){r.editorContainer=t,r.editor=null!==t?t.firstChild:null})),a(u(r),"focus",(function(t){var e=r.props.editorState,n=e.getSelection().getHasFocus(),i=r.editor;if(i){var o=b.getScrollParent(i),u=t||E(o),a=u.x,s=u.y;K(i)||D(!1),i.focus(),o===window?window.scrollTo(a,s):S.setTop(o,s),n||r.update(m.forceSelection(e,e.getSelection()))}})),a(u(r),"blur",(function(){var t=r.editor;t&&(K(t)||D(!1),t.blur())})),a(u(r),"setMode",(function(t){var e=r.props,n=e.onPaste,i=e.onCut,u=e.onCopy,a=o({},A.edit);n&&(a.onPaste=n),i&&(a.onCut=i),u&&(a.onCopy=u);var s=o({},A,{edit:a});r._handler=s[t]})),a(u(r),"exitCurrentMode",(function(){r.setMode("edit")})),a(u(r),"restoreEditorDOM",(function(t){r.setState({contentsKey:r.state.contentsKey+1},(function(){r.focus(t)}))})),a(u(r),"setClipboard",(function(t){r._clipboard=t})),a(u(r),"getClipboard",(function(){return r._clipboard})),a(u(r),"update",(function(t){r._latestEditorState=t,r.props.onChange(t)})),a(u(r),"onDragEnter",(function(){r._dragCount++})),a(u(r),"onDragLeave",(function(){r._dragCount--,0===r._dragCount&&r.exitCurrentMode()})),r._blockSelectEvents=!1,r._clipboard=null,r._handler=null,r._dragCount=0,r._editorKey=e.editorKey||x(),r._placeholderAccessibilityID="placeholder-"+r._editorKey,r._latestEditorState=e.editorState,r._latestCommittedEditorState=e.editorState,r._onBeforeInput=r._buildHandler("onBeforeInput"),r._onBlur=r._buildHandler("onBlur"),r._onCharacterData=r._buildHandler("onCharacterData"),r._onCompositionEnd=r._buildHandler("onCompositionEnd"),r._onCompositionStart=r._buildHandler("onCompositionStart"),r._onCopy=r._buildHandler("onCopy"),r._onCut=r._buildHandler("onCut"),r._onDragEnd=r._buildHandler("onDragEnd"),r._onDragOver=r._buildHandler("onDragOver"),r._onDragStart=r._buildHandler("onDragStart"),r._onDrop=r._buildHandler("onDrop"),r._onInput=r._buildHandler("onInput"),r._onFocus=r._buildHandler("onFocus"),r._onKeyDown=r._buildHandler("onKeyDown"),r._onKeyPress=r._buildHandler("onKeyPress"),r._onKeyUp=r._buildHandler("onKeyUp"),r._onMouseDown=r._buildHandler("onMouseDown"),r._onMouseUp=r._buildHandler("onMouseUp"),r._onPaste=r._buildHandler("onPaste"),r._onSelect=r._buildHandler("onSelect"),r.getEditorKey=function(){return r._editorKey},r.state={contentsKey:0},r}s(r,t);var n=r.prototype;return n._buildHandler=function(t){var e=this;return function(r){if(!e.props.readOnly){var n=e._handler&&e._handler[t];n&&(d?d((function(){return n(e,r)})):n(e,r))}}},n._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},n._renderPlaceholder=function(){if(this._showPlaceholder()){var t={text:T(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return _.createElement(y,t)}return null},n._renderARIADescribedBy=function(){var t=this.props.ariaDescribedBy||"",e=this._showPlaceholder()?this._placeholderAccessibilityID:"";return t.replace("{{editor_id_placeholder}}",e)||void 0},n.render=function(){var t=this.props,e=t.blockRenderMap,r=t.blockRendererFn,n=t.blockStyleFn,u=t.customStyleFn,a=t.customStyleMap,s=t.editorState,c=t.preventScroll,f=t.readOnly,h=t.textAlignment,g=t.textDirectionality,d=k({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===h,"DraftEditor/alignRight":"right"===h,"DraftEditor/alignCenter":"center"===h}),y=this.props.role||"textbox",v="combobox"===y?!!this.props.ariaExpanded:null,m={blockRenderMap:e,blockRendererFn:r,blockStyleFn:n,customStyleMap:o({},l,a),customStyleFn:u,editorKey:this._editorKey,editorState:s,preventScroll:c,textDirectionality:g};return _.createElement("div",{className:d},this._renderPlaceholder(),_.createElement("div",{className:k("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},_.createElement("div",{"aria-activedescendant":f?null:this.props.ariaActiveDescendantID,"aria-autocomplete":f?null:this.props.ariaAutoComplete,"aria-controls":f?null:this.props.ariaControls,"aria-describedby":this._renderARIADescribedBy(),"aria-expanded":f?null:v,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":f?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:k({notranslate:!f,"public/DraftEditor/content":!0}),contentEditable:!f,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:this.props.editorRef,role:f?null:y,spellCheck:I&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},_.createElement(L,{editor:this,editorState:s}),_.createElement(p,i({},m,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!B&&O("draft_ods_enabled")&&(B=!0,v.initODS()),this.setMode("edit"),M&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):e.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},r}(_.Component);a(R,"defaultProps",{ariaDescribedBy:"{{editor_id_placeholder}}",blockRenderMap:c,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:C,readOnly:!1,spellCheck:!1,stripPastedStyles:!1}),t.exports=R}).call(this,r("yLpj"))},"7/2Y":function(t,e,r){"use strict";var n=r("GyOf");t.exports=function(t){return!(!t||!t.ownerDocument)&&(n(t)&&"A"===t.nodeName)}},"7Pus":function(t,e,r){},"7wDu":function(t,e,r){"use strict";t.exports={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105}},"81KI":function(t,e,r){"use strict";var n=r("JPcv"),i=r("Zf/v"),o=r("2NuI"),u=n.Repeat;t.exports=function(t,e,r,n){e.isCollapsed()||o(!1);var a=null;if(null!=r&&(a=r.length),null==a||0===a)return t;var s=t.getBlockMap(),c=e.getStartKey(),l=e.getStartOffset(),f=s.get(c),p=f.getText(),h=f.merge({text:p.slice(0,l)+r+p.slice(l,f.getLength()),characterList:i(f.getCharacterList(),u(n,a).toList(),l)}),g=l+a;return t.merge({blockMap:s.set(c,h),selectionAfter:e.merge({anchorOffset:g,focusOffset:g})})}},"83KV":function(t,e,r){"use strict";var n="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;t.exports=function(t){return(t=t||document).scrollingElement?t.scrollingElement:n||"CSS1Compat"!==t.compatMode?t.body:t.documentElement}},"84lc":function(t,e,r){"use strict";var n=r("JPcv").List,i=function(){function t(t){var e,r,n;n=void 0,(r="_decorators")in(e=this)?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,this._decorators=t.slice()}var e=t.prototype;return e.getDecorations=function(t,e){var r=Array(t.getText().length).fill(null);return this._decorators.forEach((function(n,i){var o=0;(0,n.strategy)(t,(function(t,e){(function(t,e,r){for(var n=e;n<r;n++)if(null!=t[n])return!1;return!0})(r,t,e)&&(!function(t,e,r,n){for(var i=e;i<r;i++)t[i]=n}(r,t,e,i+"."+o),o++)}),e)})),n(r)},e.getComponentForKey=function(t){var e=parseInt(t.split(".")[0],10);return this._decorators[e].component},e.getPropsForKey=function(t){var e=parseInt(t.split(".")[0],10);return this._decorators[e].props},t}();t.exports=i},"8d//":function(t,e,r){"use strict";var n=r("fyOY"),i=r("cwFY")("draft_tree_data_support");t.exports=function(t,e,r){var o=t.getSelection(),u=t.getCurrentContent(),a=o,s=o.getAnchorKey(),c=o.getFocusKey(),l=u.getBlockForKey(s);if(i&&"forward"===r&&s!==c)return u;if(o.isCollapsed()){if("forward"===r){if(t.isSelectionAtEndOfContent())return u;if(i)if(o.getAnchorOffset()===u.getBlockForKey(s).getLength()){var f=u.getBlockForKey(l.nextSibling);if(!f||0===f.getLength())return u}}else if(t.isSelectionAtStartOfContent())return u;if((a=e(t))===o)return u}return n.removeRange(u,a,r)}},"8uQm":function(t,e,r){"use strict";var n=r("lFJn"),i=r("Taje"),o=r("JPcv"),u=o.List,a=o.Map,s=o.OrderedSet,c=o.Record,l=o.Repeat,f=s(),p=c({key:"",type:"unstyled",text:"",characterList:u(),depth:0,data:a()}),h=function(t){var e,r;function o(e){return t.call(this,function(t){if(!t)return t;var e=t.characterList,r=t.text;return r&&!e&&(t.characterList=u(l(n.EMPTY,r.length))),t}(e))||this}r=t,(e=o).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var a=o.prototype;return a.getKey=function(){return this.get("key")},a.getType=function(){return this.get("type")},a.getText=function(){return this.get("text")},a.getCharacterList=function(){return this.get("characterList")},a.getLength=function(){return this.getText().length},a.getDepth=function(){return this.get("depth")},a.getData=function(){return this.get("data")},a.getInlineStyleAt=function(t){var e=this.getCharacterList().get(t);return e?e.getStyle():f},a.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},a.findStyleRanges=function(t,e){i(this.getCharacterList(),g,t,e)},a.findEntityRanges=function(t,e){i(this.getCharacterList(),d,t,e)},o}(p);function g(t,e){return t.getStyle()===e.getStyle()}function d(t,e){return t.getEntity()===e.getEntity()}t.exports=h},"94Z+":function(t,e,r){"use strict";t.exports=function(t){var e=(t?t.ownerDocument||t:document).defaultView||window;return!(!t||!("function"==typeof e.Node?t instanceof e.Node:"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName))}},AKPT:function(t,e,r){"use strict";t.exports=function(t,e,r,n){var i=e.getStartKey(),o=e.getEndKey(),u=t.getBlockMap(),a=u.toSeq().skipUntil((function(t,e){return e===i})).takeUntil((function(t,e){return e===o})).concat([[o,u.get(o)]]).map((function(t){var e=t.getDepth()+r;return e=Math.max(0,Math.min(e,n)),t.set("depth",e)}));return u=u.merge(a),t.merge({blockMap:u,selectionBefore:e,selectionAfter:e})}},AyB5:function(t,e,r){"use strict";var n=r("s8ra"),i=r("7wDu"),o=r("CYTE"),u=o.isPlatform("Mac OS X"),a=u&&o.isBrowser("Firefox < 29"),s=n.hasCommandModifier,c=n.isCtrlKeyCommand;function l(t){return u&&t.altKey||c(t)}t.exports=function(t){switch(t.keyCode){case 66:return s(t)?"bold":null;case 68:return c(t)?"delete":null;case 72:return c(t)?"backspace":null;case 73:return s(t)?"italic":null;case 74:return s(t)?"code":null;case 75:return u&&c(t)?"secondary-cut":null;case 77:case 79:return c(t)?"split-block":null;case 84:return u&&c(t)?"transpose-characters":null;case 85:return s(t)?"underline":null;case 87:return u&&c(t)?"backspace-word":null;case 89:return c(t)?u?"secondary-paste":"redo":null;case 90:return function(t){return s(t)?t.shiftKey?"redo":"undo":null}(t)||null;case i.RETURN:return"split-block";case i.DELETE:return function(t){return!u&&t.shiftKey?null:l(t)?"delete-word":"delete"}(t);case i.BACKSPACE:return function(t){return s(t)&&u?"backspace-to-start-of-line":l(t)?"backspace-word":"backspace"}(t);case i.LEFT:return a&&s(t)?"move-selection-to-start-of-block":null;case i.RIGHT:return a&&s(t)?"move-selection-to-end-of-block":null;default:return null}}},B0ab:function(t,e,r){"use strict";var n=r("JL7T"),i=r("rJY1"),o=r("JPcv"),u=r("2NuI"),a=r("Mh8y"),s=o.List,c=o.Map,l=function(t,e,r){if(t){var n=e.get(t);n&&e.set(t,r(n))}};t.exports=function(t,e){e.isCollapsed()||u(!1);var r=e.getAnchorKey(),o=t.getBlockMap(),f=o.get(r),p=f.getText();if(!p){var h=f.getType();if("unordered-list-item"===h||"ordered-list-item"===h)return a(t,e,(function(t){return t.merge({type:"unstyled",depth:0})}))}var g=e.getAnchorOffset(),d=f.getCharacterList(),y=i(),v=f instanceof n,m=f.merge({text:p.slice(0,g),characterList:d.slice(0,g)}),_=m.merge({key:y,text:p.slice(g),characterList:d.slice(g),data:c()}),S=o.toSeq().takeUntil((function(t){return t===f})),b=o.toSeq().skipUntil((function(t){return t===f})).rest(),w=S.concat([[r,m],[y,_]],b).toOrderedMap();return v&&(f.getChildKeys().isEmpty()||u(!1),w=function(t,e,r){return t.withMutations((function(t){var n=e.getKey(),i=r.getKey();l(e.getParentKey(),t,(function(t){var e=t.getChildKeys(),r=e.indexOf(n)+1,o=e.toArray();return o.splice(r,0,i),t.merge({children:s(o)})})),l(e.getNextSiblingKey(),t,(function(t){return t.merge({prevSibling:i})})),l(n,t,(function(t){return t.merge({nextSibling:i})})),l(i,t,(function(t){return t.merge({prevSibling:n})}))}))}(w,m,_)),t.merge({blockMap:w,selectionBefore:e,selectionAfter:e.merge({anchorKey:y,anchorOffset:0,focusKey:y,focusOffset:0,isBackward:!1})})}},C8qk:function(t,e,r){"use strict";var n=r("MgzW");function i(){return(i=n||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function o(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){a(t,e,r[e])}))}return t}function a(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var s=r("y0lr"),c=r("Iq8E"),l=r("q1tI"),f=r("prOm"),p=r("6Xrj"),h=r("p1kU"),g=r("DeIs"),d=r("tKWh"),y=r("JPcv"),v=r("2NuI"),m=r("OLzA"),_=(y.List,function(t,e){return t.getAnchorKey()===e||t.getFocusKey()===e}),S=function(t,e){var r=e.get(t.getType())||e.get("unstyled"),n=r.wrapper;return{Element:r.element||e.get("unstyled").element,wrapperTemplate:n}},b=function(t,e){var r=e(t);return r?{CustomComponent:r.component,customProps:r.props,customEditable:r.editable}:{}},w=function(t,e,r,n,i,o){var a={"data-block":!0,"data-editor":e,"data-offset-key":r,key:t.getKey(),ref:o},s=n(t);return s&&(a.className=s),void 0!==i.customEditable&&(a=u({},a,{contentEditable:i.customEditable,suppressContentEditableWarning:!0})),a},k=function(t){var e,r;function n(){for(var e,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return a(o(e=t.call.apply(t,[this].concat(n))||this),"wrapperRef",l.createRef()),e}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var y=n.prototype;return y.shouldComponentUpdate=function(t){var e=this.props,r=e.block,n=e.direction,i=e.tree,o=!r.getChildKeys().isEmpty(),u=r!==t.block||i!==t.tree||n!==t.direction||_(t.selection,t.block.getKey())&&t.forceSelection;return o||u},y.componentDidMount=function(){var t=this.props.selection,e=t.getEndKey();if(t.getHasFocus()&&e===this.props.block.getKey()){var r=this.wrapperRef.current;if(r){var n,i=p.getScrollParent(r),o=g(i);if(i===window){var u=h(r);(n=u.y+u.height-d().height)>0&&window.scrollTo(o.x,o.y+n+10)}else{m(r)||v(!1);var a=r;(n=a.offsetHeight+a.offsetTop-(i.offsetHeight+o.y))>0&&f.setTop(i,f.getTop(i)+n+10)}}}},y.render=function(){var t=this,e=this.props,r=e.block,o=e.blockRenderMap,a=e.blockRendererFn,f=e.blockStyleFn,p=e.contentState,h=e.decorator,g=e.editorKey,d=e.editorState,y=e.customStyleFn,v=e.customStyleMap,m=e.direction,k=e.forceSelection,x=e.selection,C=e.tree,E=null;r.children.size&&(E=r.children.reduce((function(e,r){var i=c.encode(r,0,0),s=p.getBlockForKey(r),h=b(s,a),y=h.CustomComponent||n,v=S(s,o),m=v.Element,_=v.wrapperTemplate,k=w(s,g,i,f,h,null),x=u({},t.props,{tree:d.getBlockTree(r),blockProps:h.customProps,offsetKey:i,block:s});return e.push(l.createElement(m,k,l.createElement(y,x))),!_||function(t,e){var r=t.getNextSiblingKey();return!!r&&e.getBlockForKey(r).getType()===t.getType()}(s,p)||function(t,e,r){var n=[],i=!0,o=!1,u=void 0;try{for(var a,s=r.reverse()[Symbol.iterator]();!(i=(a=s.next()).done);i=!0){var f=a.value;if(f.type!==e)break;n.push(f)}}catch(t){o=!0,u=t}finally{try{i||null==s.return||s.return()}finally{if(o)throw u}}r.splice(r.indexOf(n[0]),n.length+1);var p=n.reverse(),h=p[0].key;r.push(l.cloneElement(t,{key:"".concat(h,"-wrap"),"data-offset-key":c.encode(h,0,0)},p))}(_,m,e),e}),[]));var O=r.getKey(),D=c.encode(O,0,0),K=b(r,a),T=K.CustomComponent,M=null!=T?l.createElement(T,i({},this.props,{tree:d.getBlockTree(O),blockProps:K.customProps,offsetKey:D,block:r})):l.createElement(s,{block:r,children:E,contentState:p,customStyleFn:y,customStyleMap:v,decorator:h,direction:m,forceSelection:k,hasSelection:_(x,O),selection:x,tree:C});if(r.getParentKey())return M;var I=S(r,o).Element,A=w(r,g,D,f,K,this.wrapperRef);return l.createElement(I,A,M)},n}(l.Component);t.exports=k},C9ER:function(t,e,r){"use strict";var n=r("fyOY"),i=r("3sOJ"),o=r("s8ra"),u=r("7wDu"),a=r("Wkzk"),s=r("CYTE"),c=r("T401"),l=r("HEBY"),f=r("vcNX"),p=r("YUem"),h=r("MPKC"),g=r("0RQb"),d=r("ujuU"),y=r("3Br+"),v=r("tuJh"),m=r("ocgx"),_=r("SYhp"),S=o.isOptionKeyCommand,b=s.isBrowser("Chrome");t.exports=function(t,e){var r=e.which,o=t._latestEditorState;function s(r){var n=t.props[r];return!!n&&(n(e),!0)}switch(r){case u.RETURN:if(e.preventDefault(),t.props.handleReturn&&c(t.props.handleReturn(e,o)))return;break;case u.ESC:if(e.preventDefault(),s("onEscape"))return;break;case u.TAB:if(s("onTab"))return;break;case u.UP:if(s("onUpArrow"))return;break;case u.RIGHT:if(s("onRightArrow"))return;break;case u.DOWN:if(s("onDownArrow"))return;break;case u.LEFT:if(s("onLeftArrow"))return;break;case u.SPACE:b&&S(e)&&e.preventDefault()}var w=t.props.keyBindingFn(e);if(null!=w&&""!==w)if("undo"!==w){if(e.preventDefault(),!t.props.handleKeyCommand||!c(t.props.handleKeyCommand(w,o,e.timeStamp))){var k=function(t,e,r){switch(t){case"redo":return i.redo(e);case"delete":return v(e);case"delete-word":return p(e);case"backspace":return y(e);case"backspace-word":return f(e);case"backspace-to-start-of-line":return l(e,r);case"split-block":return h(e);case"transpose-characters":return m(e);case"move-selection-to-start-of-block":return d(e);case"move-selection-to-end-of-block":return g(e);case"secondary-cut":return a.cut(e);case"secondary-paste":return a.paste(e);default:return e}}(w,o,e);k!==o&&t.update(k)}}else _(e,o,t.update);else if(r===u.SPACE&&b&&S(e)){var x=n.replaceText(o.getCurrentContent(),o.getSelection()," ");t.update(i.push(o,x,"insert-characters"))}}},CJXx:function(t,e,r){"use strict";var n=r("MgzW");function i(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var u=r("WLG0"),a=r("q1tI"),s=r("2NuI"),c=r("aB02"),l=r("O4zn").setDraftEditorSelection,f=function(t){var e,r;function f(){for(var e,r=arguments.length,n=new Array(r),u=0;u<r;u++)n[u]=arguments[u];return o(i(e=t.call.apply(t,[this].concat(n))||this),"leaf",void 0),e}r=t,(e=f).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var p=f.prototype;return p._setSelection=function(){var t=this.props.selection;if(null!=t&&t.getHasFocus()){var e=this.props,r=e.block,n=e.start,i=e.text,o=r.getKey(),u=n+i.length;if(t.hasEdgeWithin(o,n,u)){var a=this.leaf;a||s(!1);var f,p=a.firstChild;p||s(!1),p.nodeType===Node.TEXT_NODE?f=p:c(p)?f=a:(f=p.firstChild)||s(!1),l(t,f,o,n,u)}}},p.shouldComponentUpdate=function(t){var e=this.leaf;return e||s(!1),e.textContent!==t.text||t.styleSet!==this.props.styleSet||t.forceSelection},p.componentDidUpdate=function(){this._setSelection()},p.componentDidMount=function(){this._setSelection()},p.render=function(){var t=this,e=this.props.block,r=this.props.text;r.endsWith("\n")&&this.props.isLast&&(r+="\n");var i=this.props,o=i.customStyleMap,s=i.customStyleFn,c=i.offsetKey,l=i.styleSet,f=l.reduce((function(t,e){var r={},i=o[e];return void 0!==i&&t.textDecoration!==i.textDecoration&&(r.textDecoration=[t.textDecoration,i.textDecoration].join(" ").trim()),n(t,i,r)}),{});if(s){var p=s(l,e);f=n(f,p)}return a.createElement("span",{"data-offset-key":c,ref:function(e){return t.leaf=e},style:f},a.createElement(u,null,r))},f}(a.Component);t.exports=f},CYTE:function(t,e,r){"use strict";var n=r("KL9H"),i=r("QfTi"),o=r("bd9B"),u=r("rWXM");function a(t,e,r,n){if(t===r)return!0;if(!r.startsWith(t))return!1;var o=r.slice(t.length);return!!e&&(o=n?n(o):o,i.contains(o,e))}function s(t){return"Windows"===n.platformName?t.replace(/^\s*NT/,""):t}var c={isBrowser:function(t){return a(n.browserName,n.browserFullVersion,t)},isBrowserArchitecture:function(t){return a(n.browserArchitecture,null,t)},isDevice:function(t){return a(n.deviceName,null,t)},isEngine:function(t){return a(n.engineName,n.engineVersion,t)},isPlatform:function(t){return a(n.platformName,n.platformFullVersion,t,s)},isPlatformArchitecture:function(t){return a(n.platformArchitecture,null,t)}};t.exports=o(c,u)},DEWG:function(t,e,r){"use strict";r("2mcs");t.exports=function(t,e){var r,n=t.getSelection(),i=n.getStartKey(),o=n.getStartOffset(),u=t.getCurrentContent(),a=i;return e>u.getBlockForKey(i).getText().length-o?(a=u.getKeyAfter(i),r=0):r=o+e,n.merge({focusKey:a,focusOffset:r})}},DYKh:function(t,e,r){"use strict";var n=r("V8dp"),i=r("bu5B");t.exports=function(t,e){var r=e.getStartKey(),o=e.getStartOffset(),u=e.getEndKey(),a=e.getEndOffset(),s=i(t,e).getBlockMap(),c=s.keySeq(),l=c.indexOf(r),f=c.indexOf(u)+1;return n(s.slice(l,f).map((function(t,e){var n=t.getText(),i=t.getCharacterList();return r===u?t.merge({text:n.slice(o,a),characterList:i.slice(o,a)}):e===r?t.merge({text:n.slice(o),characterList:i.slice(o)}):e===u?t.merge({text:n.slice(0,a),characterList:i.slice(0,a)}):t})))}},DeIs:function(t,e,r){"use strict";var n=r("83KV"),i=r("MxAa");t.exports=function(t){var e=n(t.ownerDocument||t.document);t.Window&&t instanceof t.Window&&(t=e);var r=i(t),o=t===e?t.ownerDocument.documentElement:t,u=t.scrollWidth-o.clientWidth,a=t.scrollHeight-o.clientHeight;return r.x=Math.max(0,Math.min(r.x,u)),r.y=Math.max(0,Math.min(r.y,a)),r}},DthY:function(t,e,r){"use strict";var n=r("MgzW");function i(){return(i=n||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function o(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var a=r("CJXx"),s=r("Iq8E"),c=r("q1tI"),l=r("prOm"),f=r("6Xrj"),p=r("fZAc"),h=r("mjHj"),g=r("YVIB"),d=r("p1kU"),y=r("DeIs"),v=r("tKWh"),m=r("2NuI"),_=r("OLzA"),S=r("gWRK"),b=function(t,e){return t.getAnchorKey()===e||t.getFocusKey()===e},w=function(t){var e,r;function n(){for(var e,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return u(o(e=t.call.apply(t,[this].concat(n))||this),"_node",void 0),e}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var w=n.prototype;return w.shouldComponentUpdate=function(t){return this.props.block!==t.block||this.props.tree!==t.tree||this.props.direction!==t.direction||b(t.selection,t.block.getKey())&&t.forceSelection},w.componentDidMount=function(){if(!this.props.preventScroll){var t=this.props.selection,e=t.getEndKey();if(t.getHasFocus()&&e===this.props.block.getKey()){var r=this._node;if(null!=r){var n,i=f.getScrollParent(r),o=y(i);if(i===window){var u=d(r);(n=u.y+u.height-v().height)>0&&window.scrollTo(o.x,o.y+n+10)}else{_(r)||m(!1),(n=r.offsetHeight+r.offsetTop-(i.offsetTop+i.offsetHeight+o.y))>0&&l.setTop(i,l.getTop(i)+n+10)}}}}},w._renderChildren=function(){var t=this,e=this.props.block,r=e.getKey(),n=e.getText(),o=this.props.tree.size-1,u=b(this.props.selection,r);return this.props.tree.map((function(l,f){var g=l.get("leaves");if(0===g.size)return null;var d=g.size-1,y=g.map((function(i,l){var p=s.encode(r,f,l),h=i.get("start"),g=i.get("end");return c.createElement(a,{key:p,offsetKey:p,block:e,start:h,selection:u?t.props.selection:null,forceSelection:t.props.forceSelection,text:n.slice(h,g),styleSet:e.getInlineStyleAt(h),customStyleMap:t.props.customStyleMap,customStyleFn:t.props.customStyleFn,isLast:f===o&&l===d})})).toArray(),v=l.get("decoratorKey");if(null==v)return y;if(!t.props.decorator)return y;var m=S(t.props.decorator),_=m.getComponentForKey(v);if(!_)return y;var b=m.getPropsForKey(v),w=s.encode(r,f,0),k=g.first().get("start"),x=g.last().get("end"),C=n.slice(k,x),E=e.getEntityAt(l.get("start")),O=h.getHTMLDirIfDifferent(p.getDirection(C),t.props.direction),D={contentState:t.props.contentState,decoratedText:C,dir:O,start:k,end:x,blockKey:r,entityKey:E,offsetKey:w};return c.createElement(_,i({},b,D,{key:w}),y)})).toArray()},w.render=function(){var t=this,e=this.props,r=e.direction,n=e.offsetKey,i=g({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===r,"public/DraftStyleDefault/rtl":"RTL"===r});return c.createElement("div",{"data-offset-key":n,className:i,ref:function(e){return t._node=e}},this._renderChildren())},n}(c.Component);t.exports=w},F09w:function(t,e,r){"use strict";t.exports=function(t){return t&&t.ownerDocument?t.ownerDocument:document}},FcOR:function(t,e,r){"use strict";t.exports={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}}},GMIm:function(t,e,r){"use strict";var n=r("GyOf");t.exports=function(t){return!(!t||!t.ownerDocument)&&(n(t)&&"IMG"===t.nodeName)}},Gn5D:function(t,e,r){"use strict";t.exports={notEmptyKey:function(t){return null!=t&&""!=t}}},GyOf:function(t,e,r){"use strict";t.exports=function(t){return!(!t||!t.ownerDocument)&&t.nodeType===Node.ELEMENT_NODE}},HEBY:function(t,e,r){"use strict";var n=r("3sOJ"),i=r("HezI"),o=r("ISee"),u=r("kWjT"),a=r("8d//");t.exports=function(t,e){var r=a(t,(function(t){var r=t.getSelection();if(r.isCollapsed()&&0===r.getAnchorOffset())return u(t,1);var n=e.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return n=i(n),o(t,null,n.endContainer,n.endOffset,n.startContainer,n.startOffset).selectionState}),"backward");return r===t.getCurrentContent()?t:n.push(t,r,"remove-range")}},HKS5:function(t,e,r){"use strict";(function(e){var n=r("2NuI"),i=/\.textClipping$/,o={"text/plain":!0,"text/html":!0,"text/rtf":!0};t.exports=function(t,r){var u=0,a=[];t.forEach((function(s){!function(t,r){if(!e.FileReader||t.type&&!(t.type in o))return void r("");if(""===t.type){var u="";return i.test(t.name)&&(u=t.name.replace(i,"")),void r(u)}var a=new FileReader;a.onload=function(){var t=a.result;"string"!=typeof t&&n(!1),r(t)},a.onerror=function(){r("")},a.readAsText(t)}(s,(function(e){u++,e&&a.push(e.slice(0,5e3)),u==t.length&&r(a.join("\r"))}))}))}}).call(this,r("yLpj"))},Hdlu:function(t,e,r){"use strict";var n=r("q1tI"),i=r("YVIB"),o=function(t){var e,r;function o(){return t.apply(this,arguments)||this}r=t,(e=o).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var u=o.prototype;return u.shouldComponentUpdate=function(t){return this.props.text!==t.text||this.props.editorState.getSelection().getHasFocus()!==t.editorState.getSelection().getHasFocus()},u.render=function(){var t=this.props.editorState.getSelection().getHasFocus(),e=i({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":t});return n.createElement("div",{className:e},n.createElement("div",{className:i("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},o}(n.Component);t.exports=o},HezI:function(t,e,r){"use strict";var n=r("jLRO"),i=r("F09w"),o=r("158f"),u=r("2NuI");function a(t,e){for(var r=1/0,n=1/0,i=-1/0,o=-1/0,u=0;u<t.length;u++){var a=t[u];0!==a.width&&1!==a.width&&(r=Math.min(r,a.top),n=Math.min(n,a.bottom),i=Math.max(i,a.top),o=Math.max(o,a.bottom))}return i<=n&&i-r<e&&o-n<e}function s(t){switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return t.length;default:return t.childNodes.length}}t.exports=function(t){t.collapsed||u(!1);var e=(t=t.cloneRange()).startContainer;1!==e.nodeType&&(e=e.parentNode);var r=function(t){var e=getComputedStyle(t),r=i(t),n=r.createElement("div");n.style.fontFamily=e.fontFamily,n.style.fontSize=e.fontSize,n.style.fontStyle=e.fontStyle,n.style.fontWeight=e.fontWeight,n.style.lineHeight=e.lineHeight,n.style.position="absolute",n.textContent="M";var o=r.body;o||u(!1),o.appendChild(n);var a=n.getBoundingClientRect();return o.removeChild(n),a.height}(e),c=t.endContainer,l=t.endOffset;for(t.setStart(t.startContainer,0);a(o(t),r)&&(c=t.startContainer,l=t.startOffset,c.parentNode||u(!1),t.setStartBefore(c),1!==c.nodeType||"inline"===getComputedStyle(c).display););for(var f=c,p=l-1;;){for(var h=f.nodeValue,g=p;g>=0;g--)if(!(null!=h&&g>0&&n.isSurrogatePair(h,g-1))){if(t.setStart(f,g),!a(o(t),r))break;c=f,l=g}if(-1===g||0===f.childNodes.length)break;p=s(f=f.childNodes[g])}return t.setStart(c,l),t}},Hpvj:function(t,e,r){"use strict";t.exports=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)}))}},HriT:function(t,e,r){"use strict";var n=new RegExp("\r","g");t.exports=function(t){return t.replace(n,"")}},I2Ug:function(t,e,r){"use strict";var n=r("JL7T"),i=r("VTBg"),o=r("JPcv"),u=r("2NuI"),a=o.OrderedMap,s=o.List,c=function(t,e,r){if(t){var n=e.get(t);n&&e.set(t,r(n))}},l=function(t,e,r,n,i){if(!i)return t;var o="after"===n,u=e.getKey(),a=r.getKey(),l=e.getParentKey(),f=e.getNextSiblingKey(),p=e.getPrevSiblingKey(),h=r.getParentKey(),g=o?r.getNextSiblingKey():a,d=o?a:r.getPrevSiblingKey();return t.withMutations((function(t){c(l,t,(function(t){var e=t.getChildKeys();return t.merge({children:e.delete(e.indexOf(u))})})),c(p,t,(function(t){return t.merge({nextSibling:f})})),c(f,t,(function(t){return t.merge({prevSibling:p})})),c(g,t,(function(t){return t.merge({prevSibling:u})})),c(d,t,(function(t){return t.merge({nextSibling:u})})),c(h,t,(function(t){var e=t.getChildKeys(),r=e.indexOf(a),n=o?r+1:0!==r?r-1:0,i=e.toArray();return i.splice(n,0,u),t.merge({children:s(i)})})),c(u,t,(function(t){return t.merge({nextSibling:g,prevSibling:d,parent:h})}))}))};t.exports=function(t,e,r,o){"replace"===o&&u(!1);var s=r.getKey(),c=e.getKey();c===s&&u(!1);var f=t.getBlockMap(),p=e instanceof n,h=[e],g=f.delete(c);p&&(h=[],g=f.withMutations((function(t){var r=e.getNextSiblingKey(),n=i(e,t);t.toSeq().skipUntil((function(t){return t.getKey()===c})).takeWhile((function(t){var e=t.getKey(),i=e===c,o=r&&e!==r,u=!r&&t.getParentKey()&&(!n||e!==n);return!!(i||o||u)})).forEach((function(e){h.push(e),t.delete(e.getKey())}))})));var d=g.toSeq().takeUntil((function(t){return t===r})),y=g.toSeq().skipUntil((function(t){return t===r})).skip(1),v=h.map((function(t){return[t.getKey(),t]})),m=a();if("before"===o){var _=t.getBlockBefore(s);_&&_.getKey()===e.getKey()&&u(!1),m=d.concat([].concat(v,[[s,r]]),y).toOrderedMap()}else if("after"===o){var S=t.getBlockAfter(s);S&&S.getKey()===c&&u(!1),m=d.concat([[s,r]].concat(v),y).toOrderedMap()}return t.merge({blockMap:l(m,e,r,o,p),selectionBefore:t.getSelectionAfter(),selectionAfter:t.getSelectionAfter().merge({anchorKey:c,focusKey:c})})}},I8OZ:function(t,e,r){"use strict";var n=r("fZAc"),i=r("mjHj"),o=r("2NuI"),u=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),e?i.isStrong(e)||o(!1):e=i.getGlobalDir(),this._defaultDir=e,this.reset()}return t.prototype.reset=function(){this._lastDir=this._defaultDir},t.prototype.getDirection=function(t){return this._lastDir=n.getDirection(t,this._lastDir),this._lastDir},t}();t.exports=u},ISR0:function(t,e,r){"use strict";var n=r("QvxS"),i=r("fyOY"),o=r("3sOJ"),u=r("kc9Y"),a=r("F09w"),s=r("HKS5"),c=r("5RSi"),l=r("WaGC"),f=r("T401"),p=r("gWRK");var h={onDragEnd:function(t){t.exitCurrentMode(),g(t)},onDrop:function(t,e){var r=new n(e.nativeEvent.dataTransfer),l=t._latestEditorState,h=function(t,e){var r=null,n=null,i=a(t.currentTarget);if("function"==typeof i.caretRangeFromPoint){var o=i.caretRangeFromPoint(t.x,t.y);r=o.startContainer,n=o.startOffset}else{if(!t.rangeParent)return null;r=t.rangeParent,n=t.rangeOffset}r=p(r),n=p(n);var s=p(u(r));return c(e,s,n,s,n)}(e.nativeEvent,l);if(e.preventDefault(),t._dragCount=0,t.exitCurrentMode(),null!=h){var y=r.getFiles();if(y.length>0){if(t.props.handleDroppedFiles&&f(t.props.handleDroppedFiles(h,y)))return;s(y,(function(e){e&&t.update(d(l,h,e))}))}else{var v=t._internalDrag?"internal":"external";t.props.handleDrop&&f(t.props.handleDrop(h,r,v))||(t._internalDrag?t.update(function(t,e){var r=i.moveText(t.getCurrentContent(),t.getSelection(),e);return o.push(t,r,"insert-fragment")}(l,h)):t.update(d(l,h,r.getText()))),g(t)}}}};function g(t){t._internalDrag=!1;var e=t.editorContainer;if(e){var r=new MouseEvent("mouseup",{view:l(e),bubbles:!0,cancelable:!0});e.dispatchEvent(r)}}function d(t,e,r){var n=i.insertText(t.getCurrentContent(),e,r,t.getCurrentInlineStyle());return o.push(t,n,"insert-fragment")}t.exports=h},ISee:function(t,e,r){"use strict";var n=r("kc9Y"),i=r("zORg"),o=r("5RSi"),u=r("2NuI"),a=r("GyOf"),s=r("gWRK");function c(t,e,r){var o=e,c=n(o);(null!=c||t&&(t===o||t.firstChild===o)||u(!1),t===o)&&(o=o.firstChild,a(o)||u(!1),"true"!==(o=o).getAttribute("data-contents")&&u(!1),r>0&&(r=o.childNodes.length));if(0===r){var f=null;if(null!=c)f=c;else{var p=function(t){for(;t.firstChild&&(a(t.firstChild)&&"true"===t.firstChild.getAttribute("data-blocks")||i(t.firstChild));)t=t.firstChild;return t}(o);f=s(i(p))}return{key:f,offset:0}}var h=o.childNodes[r-1],g=null,d=null;if(i(h)){var y=function(t){for(;t.lastChild&&(a(t.lastChild)&&"true"===t.lastChild.getAttribute("data-blocks")||i(t.lastChild));)t=t.lastChild;return t}(h);g=s(i(y)),d=l(y)}else g=s(c),d=l(h);return{key:g,offset:d}}function l(t){var e=t.textContent;return"\n"===e?0:e.length}t.exports=function(t,e,r,i,u,a){var l=r.nodeType===Node.TEXT_NODE,f=u.nodeType===Node.TEXT_NODE;if(l&&f)return{selectionState:o(t,s(n(r)),i,s(n(u)),a),needsRecovery:!1};var p=null,h=null,g=!0;return l?(p={key:s(n(r)),offset:i},h=c(e,u,a)):f?(h={key:s(n(u)),offset:a},p=c(e,r,i)):(p=c(e,r,i),h=c(e,u,a),r===u&&i===a&&(g=!!r.firstChild&&"BR"!==r.firstChild.nodeName)),{selectionState:o(t,p.key,p.offset,h.key,h.offset),needsRecovery:g}}},Idtq:function(t,e,r){"use strict";var n=r("cwFY")("draft_tree_data_support");t.exports=r(n?"YrFj":"Y3PQ")},Iq8E:function(t,e,r){"use strict";var n="-",i={encode:function(t,e,r){return t+n+e+n+r},decode:function(t){var e=t.split(n).reverse(),r=e[0],i=e[1];return{blockKey:e.slice(2).reverse().join(n),decoratorKey:parseInt(i,10),leafKey:parseInt(r,10)}}};t.exports=i},"JI+E":function(t,e,r){"use strict";var n=r("3sOJ"),i=r("TWoB"),o=r("jl2H");t.exports=function(t,e){var r=e.currentTarget.ownerDocument;if(!Boolean(t.props.preserveSelectionOnBlur)&&o(r)===r.body){var u=r.defaultView.getSelection(),a=t.editor;1===u.rangeCount&&i(a,u.anchorNode)&&i(a,u.focusNode)&&u.removeAllRanges()}var s=t._latestEditorState,c=s.getSelection();if(c.getHasFocus()){var l=c.set("hasFocus",!1);t.props.onBlur&&t.props.onBlur(e),t.update(n.acceptSelection(s,l))}}},JL7T:function(t,e,r){"use strict";var n=r("lFJn"),i=r("Taje"),o=r("JPcv"),u=o.List,a=o.Map,s=o.OrderedSet,c=o.Record,l=o.Repeat,f=s(),p={parent:null,characterList:u(),data:a(),depth:0,key:"",text:"",type:"unstyled",children:u(),prevSibling:null,nextSibling:null},h=function(t,e){return t.getStyle()===e.getStyle()},g=function(t,e){return t.getEntity()===e.getEntity()},d=function(t){if(!t)return t;var e=t.characterList,r=t.text;return r&&!e&&(t.characterList=u(l(n.EMPTY,r.length))),t},y=function(t){var e,r;function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;return t.call(this,d(e))||this}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var o=n.prototype;return o.getKey=function(){return this.get("key")},o.getType=function(){return this.get("type")},o.getText=function(){return this.get("text")},o.getCharacterList=function(){return this.get("characterList")},o.getLength=function(){return this.getText().length},o.getDepth=function(){return this.get("depth")},o.getData=function(){return this.get("data")},o.getInlineStyleAt=function(t){var e=this.getCharacterList().get(t);return e?e.getStyle():f},o.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},o.getChildKeys=function(){return this.get("children")},o.getParentKey=function(){return this.get("parent")},o.getPrevSiblingKey=function(){return this.get("prevSibling")},o.getNextSiblingKey=function(){return this.get("nextSibling")},o.findStyleRanges=function(t,e){i(this.getCharacterList(),h,t,e)},o.findEntityRanges=function(t,e){i(this.getCharacterList(),g,t,e)},n}(c(p));t.exports=y},JPcv:function(t,e,r){t.exports=function(){"use strict";var t=Array.prototype.slice;function e(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function r(t){return u(t)?t:Y(t)}function n(t){return a(t)?t:V(t)}function i(t){return s(t)?t:G(t)}function o(t){return u(t)&&!c(t)?t:Q(t)}function u(t){return!(!t||!t[f])}function a(t){return!(!t||!t[p])}function s(t){return!(!t||!t[h])}function c(t){return a(t)||s(t)}function l(t){return!(!t||!t[g])}e(n,r),e(i,r),e(o,r),r.isIterable=u,r.isKeyed=a,r.isIndexed=s,r.isAssociative=c,r.isOrdered=l,r.Keyed=n,r.Indexed=i,r.Set=o;var f="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",h="@@__IMMUTABLE_INDEXED__@@",g="@@__IMMUTABLE_ORDERED__@@",d="delete",y=5,v=1<<y,m=v-1,_={},S={value:!1},b={value:!1};function w(t){return t.value=!1,t}function k(t){t&&(t.value=!0)}function x(){}function C(t,e){e=e||0;for(var r=Math.max(0,t.length-e),n=new Array(r),i=0;i<r;i++)n[i]=t[i+e];return n}function E(t){return void 0===t.size&&(t.size=t.__iterate(D)),t.size}function O(t,e){if("number"!=typeof e){var r=e>>>0;if(""+r!==e||4294967295===r)return NaN;e=r}return e<0?E(t)+e:e}function D(){return!0}function K(t,e,r){return(0===t||void 0!==r&&t<=-r)&&(void 0===e||void 0!==r&&e>=r)}function T(t,e){return I(t,e,0)}function M(t,e){return I(t,e,e)}function I(t,e,r){return void 0===t?r:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}var A=0,B=1,L=2,R="function"==typeof Symbol&&Symbol.iterator,F="@@iterator",N=R||F;function P(t){this.next=t}function j(t,e,r,n){var i=0===t?e:1===t?r:[e,r];return n?n.value=i:n={value:i,done:!1},n}function z(){return{value:void 0,done:!0}}function U(t){return!!W(t)}function J(t){return t&&"function"==typeof t.next}function q(t){var e=W(t);return e&&e.call(t)}function W(t){var e=t&&(R&&t[R]||t[F]);if("function"==typeof e)return e}function H(t){return t&&"number"==typeof t.length}function Y(t){return null==t?ut():u(t)?t.toSeq():ct(t)}function V(t){return null==t?ut().toKeyedSeq():u(t)?a(t)?t.toSeq():t.fromEntrySeq():at(t)}function G(t){return null==t?ut():u(t)?a(t)?t.entrySeq():t.toIndexedSeq():st(t)}function Q(t){return(null==t?ut():u(t)?a(t)?t.entrySeq():t:st(t)).toSetSeq()}P.prototype.toString=function(){return"[Iterator]"},P.KEYS=A,P.VALUES=B,P.ENTRIES=L,P.prototype.inspect=P.prototype.toSource=function(){return this.toString()},P.prototype[N]=function(){return this},e(Y,r),Y.of=function(){return Y(arguments)},Y.prototype.toSeq=function(){return this},Y.prototype.toString=function(){return this.__toString("Seq {","}")},Y.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},Y.prototype.__iterate=function(t,e){return ft(this,t,e,!0)},Y.prototype.__iterator=function(t,e){return pt(this,t,e,!0)},e(V,Y),V.prototype.toKeyedSeq=function(){return this},e(G,Y),G.of=function(){return G(arguments)},G.prototype.toIndexedSeq=function(){return this},G.prototype.toString=function(){return this.__toString("Seq [","]")},G.prototype.__iterate=function(t,e){return ft(this,t,e,!1)},G.prototype.__iterator=function(t,e){return pt(this,t,e,!1)},e(Q,Y),Q.of=function(){return Q(arguments)},Q.prototype.toSetSeq=function(){return this},Y.isSeq=ot,Y.Keyed=V,Y.Set=Q,Y.Indexed=G;var X,Z,$,tt="@@__IMMUTABLE_SEQ__@@";function et(t){this._array=t,this.size=t.length}function rt(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function nt(t){this._iterable=t,this.size=t.length||t.size}function it(t){this._iterator=t,this._iteratorCache=[]}function ot(t){return!(!t||!t[tt])}function ut(){return X||(X=new et([]))}function at(t){var e=Array.isArray(t)?new et(t).fromEntrySeq():J(t)?new it(t).fromEntrySeq():U(t)?new nt(t).fromEntrySeq():"object"==typeof t?new rt(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function st(t){var e=lt(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function ct(t){var e=lt(t)||"object"==typeof t&&new rt(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}function lt(t){return H(t)?new et(t):J(t)?new it(t):U(t)?new nt(t):void 0}function ft(t,e,r,n){var i=t._cache;if(i){for(var o=i.length-1,u=0;u<=o;u++){var a=i[r?o-u:u];if(!1===e(a[1],n?a[0]:u,t))return u+1}return u}return t.__iterateUncached(e,r)}function pt(t,e,r,n){var i=t._cache;if(i){var o=i.length-1,u=0;return new P((function(){var t=i[r?o-u:u];return u++>o?z():j(e,n?t[0]:u-1,t[1])}))}return t.__iteratorUncached(e,r)}function ht(t,e){return e?gt(e,t,"",{"":t}):dt(t)}function gt(t,e,r,n){return Array.isArray(e)?t.call(n,r,G(e).map((function(r,n){return gt(t,r,n,e)}))):yt(e)?t.call(n,r,V(e).map((function(r,n){return gt(t,r,n,e)}))):e}function dt(t){return Array.isArray(t)?G(t).map(dt).toList():yt(t)?V(t).map(dt).toMap():t}function yt(t){return t&&(t.constructor===Object||void 0===t.constructor)}function vt(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function mt(t,e){if(t===e)return!0;if(!u(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||a(t)!==a(e)||s(t)!==s(e)||l(t)!==l(e))return!1;if(0===t.size&&0===e.size)return!0;var r=!c(t);if(l(t)){var n=t.entries();return e.every((function(t,e){var i=n.next().value;return i&&vt(i[1],t)&&(r||vt(i[0],e))}))&&n.next().done}var i=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{i=!0;var o=t;t=e,e=o}var f=!0,p=e.__iterate((function(e,n){if(r?!t.has(e):i?!vt(e,t.get(n,_)):!vt(t.get(n,_),e))return f=!1,!1}));return f&&t.size===p}function _t(t,e){if(!(this instanceof _t))return new _t(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(Z)return Z;Z=this}}function St(t,e){if(!t)throw new Error(e)}function bt(t,e,r){if(!(this instanceof bt))return new bt(t,e,r);if(St(0!==r,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),r=void 0===r?1:Math.abs(r),e<t&&(r=-r),this._start=t,this._end=e,this._step=r,this.size=Math.max(0,Math.ceil((e-t)/r-1)+1),0===this.size){if($)return $;$=this}}function wt(){throw TypeError("Abstract")}function kt(){}function xt(){}function Ct(){}Y.prototype[tt]=!0,e(et,G),et.prototype.get=function(t,e){return this.has(t)?this._array[O(this,t)]:e},et.prototype.__iterate=function(t,e){for(var r=this._array,n=r.length-1,i=0;i<=n;i++)if(!1===t(r[e?n-i:i],i,this))return i+1;return i},et.prototype.__iterator=function(t,e){var r=this._array,n=r.length-1,i=0;return new P((function(){return i>n?z():j(t,i,r[e?n-i++:i++])}))},e(rt,V),rt.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},rt.prototype.has=function(t){return this._object.hasOwnProperty(t)},rt.prototype.__iterate=function(t,e){for(var r=this._object,n=this._keys,i=n.length-1,o=0;o<=i;o++){var u=n[e?i-o:o];if(!1===t(r[u],u,this))return o+1}return o},rt.prototype.__iterator=function(t,e){var r=this._object,n=this._keys,i=n.length-1,o=0;return new P((function(){var u=n[e?i-o:o];return o++>i?z():j(t,u,r[u])}))},rt.prototype[g]=!0,e(nt,G),nt.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var r=q(this._iterable),n=0;if(J(r))for(var i;!(i=r.next()).done&&!1!==t(i.value,n++,this););return n},nt.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var r=q(this._iterable);if(!J(r))return new P(z);var n=0;return new P((function(){var e=r.next();return e.done?e:j(t,n++,e.value)}))},e(it,G),it.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var r,n=this._iterator,i=this._iteratorCache,o=0;o<i.length;)if(!1===t(i[o],o++,this))return o;for(;!(r=n.next()).done;){var u=r.value;if(i[o]=u,!1===t(u,o++,this))break}return o},it.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var r=this._iterator,n=this._iteratorCache,i=0;return new P((function(){if(i>=n.length){var e=r.next();if(e.done)return e;n[i]=e.value}return j(t,i,n[i++])}))},e(_t,G),_t.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},_t.prototype.get=function(t,e){return this.has(t)?this._value:e},_t.prototype.includes=function(t){return vt(this._value,t)},_t.prototype.slice=function(t,e){var r=this.size;return K(t,e,r)?this:new _t(this._value,M(e,r)-T(t,r))},_t.prototype.reverse=function(){return this},_t.prototype.indexOf=function(t){return vt(this._value,t)?0:-1},_t.prototype.lastIndexOf=function(t){return vt(this._value,t)?this.size:-1},_t.prototype.__iterate=function(t,e){for(var r=0;r<this.size;r++)if(!1===t(this._value,r,this))return r+1;return r},_t.prototype.__iterator=function(t,e){var r=this,n=0;return new P((function(){return n<r.size?j(t,n++,r._value):z()}))},_t.prototype.equals=function(t){return t instanceof _t?vt(this._value,t._value):mt(t)},e(bt,G),bt.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},bt.prototype.get=function(t,e){return this.has(t)?this._start+O(this,t)*this._step:e},bt.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},bt.prototype.slice=function(t,e){return K(t,e,this.size)?this:(t=T(t,this.size),(e=M(e,this.size))<=t?new bt(0,0):new bt(this.get(t,this._end),this.get(e,this._end),this._step))},bt.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var r=e/this._step;if(r>=0&&r<this.size)return r}return-1},bt.prototype.lastIndexOf=function(t){return this.indexOf(t)},bt.prototype.__iterate=function(t,e){for(var r=this.size-1,n=this._step,i=e?this._start+r*n:this._start,o=0;o<=r;o++){if(!1===t(i,o,this))return o+1;i+=e?-n:n}return o},bt.prototype.__iterator=function(t,e){var r=this.size-1,n=this._step,i=e?this._start+r*n:this._start,o=0;return new P((function(){var u=i;return i+=e?-n:n,o>r?z():j(t,o++,u)}))},bt.prototype.equals=function(t){return t instanceof bt?this._start===t._start&&this._end===t._end&&this._step===t._step:mt(this,t)},e(wt,r),e(kt,wt),e(xt,wt),e(Ct,wt),wt.Keyed=kt,wt.Indexed=xt,wt.Set=Ct;var Et="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var r=65535&(t|=0),n=65535&(e|=0);return r*n+((t>>>16)*n+r*(e>>>16)<<16>>>0)|0};function Ot(t){return t>>>1&1073741824|3221225471&t}function Dt(t){if(!1===t||null==t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null==t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){if(t!=t||t===1/0)return 0;var r=0|t;for(r!==t&&(r^=4294967295*t);t>4294967295;)r^=t/=4294967295;return Ot(r)}if("string"===e)return t.length>Pt?Kt(t):Tt(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return Mt(t);if("function"==typeof t.toString)return Tt(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function Kt(t){var e=Ut[t];return void 0===e&&(e=Tt(t),zt===jt&&(zt=0,Ut={}),zt++,Ut[t]=e),e}function Tt(t){for(var e=0,r=0;r<t.length;r++)e=31*e+t.charCodeAt(r)|0;return Ot(e)}function Mt(t){var e;if(Rt&&void 0!==(e=Lt.get(t)))return e;if(void 0!==(e=t[Nt]))return e;if(!At){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[Nt]))return e;if(void 0!==(e=Bt(t)))return e}if(e=++Ft,1073741824&Ft&&(Ft=0),Rt)Lt.set(t,e);else{if(void 0!==It&&!1===It(t))throw new Error("Non-extensible objects are not allowed as keys.");if(At)Object.defineProperty(t,Nt,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[Nt]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[Nt]=e}}return e}var It=Object.isExtensible,At=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}();function Bt(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}var Lt,Rt="function"==typeof WeakMap;Rt&&(Lt=new WeakMap);var Ft=0,Nt="__immutablehash__";"function"==typeof Symbol&&(Nt=Symbol(Nt));var Pt=16,jt=255,zt=0,Ut={};function Jt(t){St(t!==1/0,"Cannot perform this action with an infinite size.")}function qt(t){return null==t?ie():Wt(t)&&!l(t)?t:ie().withMutations((function(e){var r=n(t);Jt(r.size),r.forEach((function(t,r){return e.set(r,t)}))}))}function Wt(t){return!(!t||!t[Yt])}e(qt,kt),qt.of=function(){var e=t.call(arguments,0);return ie().withMutations((function(t){for(var r=0;r<e.length;r+=2){if(r+1>=e.length)throw new Error("Missing value for key: "+e[r]);t.set(e[r],e[r+1])}}))},qt.prototype.toString=function(){return this.__toString("Map {","}")},qt.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},qt.prototype.set=function(t,e){return oe(this,t,e)},qt.prototype.setIn=function(t,e){return this.updateIn(t,_,(function(){return e}))},qt.prototype.remove=function(t){return oe(this,t,_)},qt.prototype.deleteIn=function(t){return this.updateIn(t,(function(){return _}))},qt.prototype.update=function(t,e,r){return 1===arguments.length?t(this):this.updateIn([t],e,r)},qt.prototype.updateIn=function(t,e,r){r||(r=e,e=void 0);var n=ye(this,br(t),e,r);return n===_?void 0:n},qt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):ie()},qt.prototype.merge=function(){return pe(this,void 0,arguments)},qt.prototype.mergeWith=function(e){return pe(this,e,t.call(arguments,1))},qt.prototype.mergeIn=function(e){var r=t.call(arguments,1);return this.updateIn(e,ie(),(function(t){return"function"==typeof t.merge?t.merge.apply(t,r):r[r.length-1]}))},qt.prototype.mergeDeep=function(){return pe(this,he,arguments)},qt.prototype.mergeDeepWith=function(e){var r=t.call(arguments,1);return pe(this,ge(e),r)},qt.prototype.mergeDeepIn=function(e){var r=t.call(arguments,1);return this.updateIn(e,ie(),(function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,r):r[r.length-1]}))},qt.prototype.sort=function(t){return Ue(lr(this,t))},qt.prototype.sortBy=function(t,e){return Ue(lr(this,e,t))},qt.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},qt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new x)},qt.prototype.asImmutable=function(){return this.__ensureOwner()},qt.prototype.wasAltered=function(){return this.__altered},qt.prototype.__iterator=function(t,e){return new te(this,t,e)},qt.prototype.__iterate=function(t,e){var r=this,n=0;return this._root&&this._root.iterate((function(e){return n++,t(e[1],e[0],r)}),e),n},qt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?ne(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},qt.isMap=Wt;var Ht,Yt="@@__IMMUTABLE_MAP__@@",Vt=qt.prototype;function Gt(t,e){this.ownerID=t,this.entries=e}function Qt(t,e,r){this.ownerID=t,this.bitmap=e,this.nodes=r}function Xt(t,e,r){this.ownerID=t,this.count=e,this.nodes=r}function Zt(t,e,r){this.ownerID=t,this.keyHash=e,this.entries=r}function $t(t,e,r){this.ownerID=t,this.keyHash=e,this.entry=r}function te(t,e,r){this._type=e,this._reverse=r,this._stack=t._root&&re(t._root)}function ee(t,e){return j(t,e[0],e[1])}function re(t,e){return{node:t,index:0,__prev:e}}function ne(t,e,r,n){var i=Object.create(Vt);return i.size=t,i._root=e,i.__ownerID=r,i.__hash=n,i.__altered=!1,i}function ie(){return Ht||(Ht=ne(0))}function oe(t,e,r){var n,i;if(t._root){var o=w(S),u=w(b);if(n=ue(t._root,t.__ownerID,0,void 0,e,r,o,u),!u.value)return t;i=t.size+(o.value?r===_?-1:1:0)}else{if(r===_)return t;i=1,n=new Gt(t.__ownerID,[[e,r]])}return t.__ownerID?(t.size=i,t._root=n,t.__hash=void 0,t.__altered=!0,t):n?ne(i,n):ie()}function ue(t,e,r,n,i,o,u,a){return t?t.update(e,r,n,i,o,u,a):o===_?t:(k(a),k(u),new $t(e,n,[i,o]))}function ae(t){return t.constructor===$t||t.constructor===Zt}function se(t,e,r,n,i){if(t.keyHash===n)return new Zt(e,n,[t.entry,i]);var o,u=(0===r?t.keyHash:t.keyHash>>>r)&m,a=(0===r?n:n>>>r)&m;return new Qt(e,1<<u|1<<a,u===a?[se(t,e,r+y,n,i)]:(o=new $t(e,n,i),u<a?[t,o]:[o,t]))}function ce(t,e,r,n){t||(t=new x);for(var i=new $t(t,Dt(r),[r,n]),o=0;o<e.length;o++){var u=e[o];i=i.update(t,0,void 0,u[0],u[1])}return i}function le(t,e,r,n){for(var i=0,o=0,u=new Array(r),a=0,s=1,c=e.length;a<c;a++,s<<=1){var l=e[a];void 0!==l&&a!==n&&(i|=s,u[o++]=l)}return new Qt(t,i,u)}function fe(t,e,r,n,i){for(var o=0,u=new Array(v),a=0;0!==r;a++,r>>>=1)u[a]=1&r?e[o++]:void 0;return u[n]=i,new Xt(t,o+1,u)}function pe(t,e,r){for(var i=[],o=0;o<r.length;o++){var a=r[o],s=n(a);u(a)||(s=s.map((function(t){return ht(t)}))),i.push(s)}return de(t,e,i)}function he(t,e,r){return t&&t.mergeDeep&&u(e)?t.mergeDeep(e):vt(t,e)?t:e}function ge(t){return function(e,r,n){if(e&&e.mergeDeepWith&&u(r))return e.mergeDeepWith(t,r);var i=t(e,r,n);return vt(e,i)?e:i}}function de(t,e,r){return 0===(r=r.filter((function(t){return 0!==t.size}))).length?t:0!==t.size||t.__ownerID||1!==r.length?t.withMutations((function(t){for(var n=e?function(r,n){t.update(n,_,(function(t){return t===_?r:e(t,r,n)}))}:function(e,r){t.set(r,e)},i=0;i<r.length;i++)r[i].forEach(n)})):t.constructor(r[0])}function ye(t,e,r,n){var i=t===_,o=e.next();if(o.done){var u=i?r:t,a=n(u);return a===u?t:a}St(i||t&&t.set,"invalid keyPath");var s=o.value,c=i?_:t.get(s,_),l=ye(c,e,r,n);return l===c?t:l===_?t.remove(s):(i?ie():t).set(s,l)}function ve(t){return t=(t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,t+=t>>8,127&(t+=t>>16)}function me(t,e,r,n){var i=n?t:C(t);return i[e]=r,i}function _e(t,e,r,n){var i=t.length+1;if(n&&e+1===i)return t[e]=r,t;for(var o=new Array(i),u=0,a=0;a<i;a++)a===e?(o[a]=r,u=-1):o[a]=t[a+u];return o}function Se(t,e,r){var n=t.length-1;if(r&&e===n)return t.pop(),t;for(var i=new Array(n),o=0,u=0;u<n;u++)u===e&&(o=1),i[u]=t[u+o];return i}Vt[Yt]=!0,Vt[d]=Vt.remove,Vt.removeIn=Vt.deleteIn,Gt.prototype.get=function(t,e,r,n){for(var i=this.entries,o=0,u=i.length;o<u;o++)if(vt(r,i[o][0]))return i[o][1];return n},Gt.prototype.update=function(t,e,r,n,i,o,u){for(var a=i===_,s=this.entries,c=0,l=s.length;c<l&&!vt(n,s[c][0]);c++);var f=c<l;if(f?s[c][1]===i:a)return this;if(k(u),(a||!f)&&k(o),!a||1!==s.length){if(!f&&!a&&s.length>=be)return ce(t,s,n,i);var p=t&&t===this.ownerID,h=p?s:C(s);return f?a?c===l-1?h.pop():h[c]=h.pop():h[c]=[n,i]:h.push([n,i]),p?(this.entries=h,this):new Gt(t,h)}},Qt.prototype.get=function(t,e,r,n){void 0===e&&(e=Dt(r));var i=1<<((0===t?e:e>>>t)&m),o=this.bitmap;return 0==(o&i)?n:this.nodes[ve(o&i-1)].get(t+y,e,r,n)},Qt.prototype.update=function(t,e,r,n,i,o,u){void 0===r&&(r=Dt(n));var a=(0===e?r:r>>>e)&m,s=1<<a,c=this.bitmap,l=0!=(c&s);if(!l&&i===_)return this;var f=ve(c&s-1),p=this.nodes,h=l?p[f]:void 0,g=ue(h,t,e+y,r,n,i,o,u);if(g===h)return this;if(!l&&g&&p.length>=we)return fe(t,p,c,a,g);if(l&&!g&&2===p.length&&ae(p[1^f]))return p[1^f];if(l&&g&&1===p.length&&ae(g))return g;var d=t&&t===this.ownerID,v=l?g?c:c^s:c|s,S=l?g?me(p,f,g,d):Se(p,f,d):_e(p,f,g,d);return d?(this.bitmap=v,this.nodes=S,this):new Qt(t,v,S)},Xt.prototype.get=function(t,e,r,n){void 0===e&&(e=Dt(r));var i=(0===t?e:e>>>t)&m,o=this.nodes[i];return o?o.get(t+y,e,r,n):n},Xt.prototype.update=function(t,e,r,n,i,o,u){void 0===r&&(r=Dt(n));var a=(0===e?r:r>>>e)&m,s=i===_,c=this.nodes,l=c[a];if(s&&!l)return this;var f=ue(l,t,e+y,r,n,i,o,u);if(f===l)return this;var p=this.count;if(l){if(!f&&--p<ke)return le(t,c,p,a)}else p++;var h=t&&t===this.ownerID,g=me(c,a,f,h);return h?(this.count=p,this.nodes=g,this):new Xt(t,p,g)},Zt.prototype.get=function(t,e,r,n){for(var i=this.entries,o=0,u=i.length;o<u;o++)if(vt(r,i[o][0]))return i[o][1];return n},Zt.prototype.update=function(t,e,r,n,i,o,u){void 0===r&&(r=Dt(n));var a=i===_;if(r!==this.keyHash)return a?this:(k(u),k(o),se(this,t,e,r,[n,i]));for(var s=this.entries,c=0,l=s.length;c<l&&!vt(n,s[c][0]);c++);var f=c<l;if(f?s[c][1]===i:a)return this;if(k(u),(a||!f)&&k(o),a&&2===l)return new $t(t,this.keyHash,s[1^c]);var p=t&&t===this.ownerID,h=p?s:C(s);return f?a?c===l-1?h.pop():h[c]=h.pop():h[c]=[n,i]:h.push([n,i]),p?(this.entries=h,this):new Zt(t,this.keyHash,h)},$t.prototype.get=function(t,e,r,n){return vt(r,this.entry[0])?this.entry[1]:n},$t.prototype.update=function(t,e,r,n,i,o,u){var a=i===_,s=vt(n,this.entry[0]);return(s?i===this.entry[1]:a)?this:(k(u),a?void k(o):s?t&&t===this.ownerID?(this.entry[1]=i,this):new $t(t,this.keyHash,[n,i]):(k(o),se(this,t,e,Dt(n),[n,i])))},Gt.prototype.iterate=Zt.prototype.iterate=function(t,e){for(var r=this.entries,n=0,i=r.length-1;n<=i;n++)if(!1===t(r[e?i-n:n]))return!1},Qt.prototype.iterate=Xt.prototype.iterate=function(t,e){for(var r=this.nodes,n=0,i=r.length-1;n<=i;n++){var o=r[e?i-n:n];if(o&&!1===o.iterate(t,e))return!1}},$t.prototype.iterate=function(t,e){return t(this.entry)},e(te,P),te.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var r,n=e.node,i=e.index++;if(n.entry){if(0===i)return ee(t,n.entry)}else if(n.entries){if(i<=(r=n.entries.length-1))return ee(t,n.entries[this._reverse?r-i:i])}else if(i<=(r=n.nodes.length-1)){var o=n.nodes[this._reverse?r-i:i];if(o){if(o.entry)return ee(t,o.entry);e=this._stack=re(o,e)}continue}e=this._stack=this._stack.__prev}return z()};var be=v/4,we=v/2,ke=v/4;function xe(t){var e=Be();if(null==t)return e;if(Ce(t))return t;var r=i(t),n=r.size;return 0===n?e:(Jt(n),n>0&&n<v?Ae(0,n,y,null,new De(r.toArray())):e.withMutations((function(t){t.setSize(n),r.forEach((function(e,r){return t.set(r,e)}))})))}function Ce(t){return!(!t||!t[Ee])}e(xe,xt),xe.of=function(){return this(arguments)},xe.prototype.toString=function(){return this.__toString("List [","]")},xe.prototype.get=function(t,e){if((t=O(this,t))>=0&&t<this.size){var r=Ne(this,t+=this._origin);return r&&r.array[t&m]}return e},xe.prototype.set=function(t,e){return Le(this,t,e)},xe.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},xe.prototype.insert=function(t,e){return this.splice(t,0,e)},xe.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=y,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Be()},xe.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations((function(r){Pe(r,0,e+t.length);for(var n=0;n<t.length;n++)r.set(e+n,t[n])}))},xe.prototype.pop=function(){return Pe(this,0,-1)},xe.prototype.unshift=function(){var t=arguments;return this.withMutations((function(e){Pe(e,-t.length);for(var r=0;r<t.length;r++)e.set(r,t[r])}))},xe.prototype.shift=function(){return Pe(this,1)},xe.prototype.merge=function(){return je(this,void 0,arguments)},xe.prototype.mergeWith=function(e){return je(this,e,t.call(arguments,1))},xe.prototype.mergeDeep=function(){return je(this,he,arguments)},xe.prototype.mergeDeepWith=function(e){var r=t.call(arguments,1);return je(this,ge(e),r)},xe.prototype.setSize=function(t){return Pe(this,0,t)},xe.prototype.slice=function(t,e){var r=this.size;return K(t,e,r)?this:Pe(this,T(t,r),M(e,r))},xe.prototype.__iterator=function(t,e){var r=0,n=Ie(this,e);return new P((function(){var e=n();return e===Me?z():j(t,r++,e)}))},xe.prototype.__iterate=function(t,e){for(var r,n=0,i=Ie(this,e);(r=i())!==Me&&!1!==t(r,n++,this););return n},xe.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Ae(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},xe.isList=Ce;var Ee="@@__IMMUTABLE_LIST__@@",Oe=xe.prototype;function De(t,e){this.array=t,this.ownerID=e}Oe[Ee]=!0,Oe[d]=Oe.remove,Oe.setIn=Vt.setIn,Oe.deleteIn=Oe.removeIn=Vt.removeIn,Oe.update=Vt.update,Oe.updateIn=Vt.updateIn,Oe.mergeIn=Vt.mergeIn,Oe.mergeDeepIn=Vt.mergeDeepIn,Oe.withMutations=Vt.withMutations,Oe.asMutable=Vt.asMutable,Oe.asImmutable=Vt.asImmutable,Oe.wasAltered=Vt.wasAltered,De.prototype.removeBefore=function(t,e,r){if(r===e?1<<e:0===this.array.length)return this;var n=r>>>e&m;if(n>=this.array.length)return new De([],t);var i,o=0===n;if(e>0){var u=this.array[n];if((i=u&&u.removeBefore(t,e-y,r))===u&&o)return this}if(o&&!i)return this;var a=Fe(this,t);if(!o)for(var s=0;s<n;s++)a.array[s]=void 0;return i&&(a.array[n]=i),a},De.prototype.removeAfter=function(t,e,r){if(r===(e?1<<e:0)||0===this.array.length)return this;var n,i=r-1>>>e&m;if(i>=this.array.length)return this;if(e>0){var o=this.array[i];if((n=o&&o.removeAfter(t,e-y,r))===o&&i===this.array.length-1)return this}var u=Fe(this,t);return u.array.splice(i+1),n&&(u.array[i]=n),u};var Ke,Te,Me={};function Ie(t,e){var r=t._origin,n=t._capacity,i=ze(n),o=t._tail;return u(t._root,t._level,0);function u(t,e,r){return 0===e?a(t,r):s(t,e,r)}function a(t,u){var a=u===i?o&&o.array:t&&t.array,s=u>r?0:r-u,c=n-u;return c>v&&(c=v),function(){if(s===c)return Me;var t=e?--c:s++;return a&&a[t]}}function s(t,i,o){var a,s=t&&t.array,c=o>r?0:r-o>>i,l=1+(n-o>>i);return l>v&&(l=v),function(){for(;;){if(a){var t=a();if(t!==Me)return t;a=null}if(c===l)return Me;var r=e?--l:c++;a=u(s&&s[r],i-y,o+(r<<i))}}}}function Ae(t,e,r,n,i,o,u){var a=Object.create(Oe);return a.size=e-t,a._origin=t,a._capacity=e,a._level=r,a._root=n,a._tail=i,a.__ownerID=o,a.__hash=u,a.__altered=!1,a}function Be(){return Ke||(Ke=Ae(0,0,y))}function Le(t,e,r){if((e=O(t,e))!=e)return t;if(e>=t.size||e<0)return t.withMutations((function(t){e<0?Pe(t,e).set(0,r):Pe(t,0,e+1).set(e,r)}));e+=t._origin;var n=t._tail,i=t._root,o=w(b);return e>=ze(t._capacity)?n=Re(n,t.__ownerID,0,e,r,o):i=Re(i,t.__ownerID,t._level,e,r,o),o.value?t.__ownerID?(t._root=i,t._tail=n,t.__hash=void 0,t.__altered=!0,t):Ae(t._origin,t._capacity,t._level,i,n):t}function Re(t,e,r,n,i,o){var u,a=n>>>r&m,s=t&&a<t.array.length;if(!s&&void 0===i)return t;if(r>0){var c=t&&t.array[a],l=Re(c,e,r-y,n,i,o);return l===c?t:((u=Fe(t,e)).array[a]=l,u)}return s&&t.array[a]===i?t:(k(o),u=Fe(t,e),void 0===i&&a===u.array.length-1?u.array.pop():u.array[a]=i,u)}function Fe(t,e){return e&&t&&e===t.ownerID?t:new De(t?t.array.slice():[],e)}function Ne(t,e){if(e>=ze(t._capacity))return t._tail;if(e<1<<t._level+y){for(var r=t._root,n=t._level;r&&n>0;)r=r.array[e>>>n&m],n-=y;return r}}function Pe(t,e,r){void 0!==e&&(e|=0),void 0!==r&&(r|=0);var n=t.__ownerID||new x,i=t._origin,o=t._capacity,u=i+e,a=void 0===r?o:r<0?o+r:i+r;if(u===i&&a===o)return t;if(u>=a)return t.clear();for(var s=t._level,c=t._root,l=0;u+l<0;)c=new De(c&&c.array.length?[void 0,c]:[],n),l+=1<<(s+=y);l&&(u+=l,i+=l,a+=l,o+=l);for(var f=ze(o),p=ze(a);p>=1<<s+y;)c=new De(c&&c.array.length?[c]:[],n),s+=y;var h=t._tail,g=p<f?Ne(t,a-1):p>f?new De([],n):h;if(h&&p>f&&u<o&&h.array.length){for(var d=c=Fe(c,n),v=s;v>y;v-=y){var _=f>>>v&m;d=d.array[_]=Fe(d.array[_],n)}d.array[f>>>y&m]=h}if(a<o&&(g=g&&g.removeAfter(n,0,a)),u>=p)u-=p,a-=p,s=y,c=null,g=g&&g.removeBefore(n,0,u);else if(u>i||p<f){for(l=0;c;){var S=u>>>s&m;if(S!==p>>>s&m)break;S&&(l+=(1<<s)*S),s-=y,c=c.array[S]}c&&u>i&&(c=c.removeBefore(n,s,u-l)),c&&p<f&&(c=c.removeAfter(n,s,p-l)),l&&(u-=l,a-=l)}return t.__ownerID?(t.size=a-u,t._origin=u,t._capacity=a,t._level=s,t._root=c,t._tail=g,t.__hash=void 0,t.__altered=!0,t):Ae(u,a,s,c,g)}function je(t,e,r){for(var n=[],o=0,a=0;a<r.length;a++){var s=r[a],c=i(s);c.size>o&&(o=c.size),u(s)||(c=c.map((function(t){return ht(t)}))),n.push(c)}return o>t.size&&(t=t.setSize(o)),de(t,e,n)}function ze(t){return t<v?0:t-1>>>y<<y}function Ue(t){return null==t?We():Je(t)?t:We().withMutations((function(e){var r=n(t);Jt(r.size),r.forEach((function(t,r){return e.set(r,t)}))}))}function Je(t){return Wt(t)&&l(t)}function qe(t,e,r,n){var i=Object.create(Ue.prototype);return i.size=t?t.size:0,i._map=t,i._list=e,i.__ownerID=r,i.__hash=n,i}function We(){return Te||(Te=qe(ie(),Be()))}function He(t,e,r){var n,i,o=t._map,u=t._list,a=o.get(e),s=void 0!==a;if(r===_){if(!s)return t;u.size>=v&&u.size>=2*o.size?(n=(i=u.filter((function(t,e){return void 0!==t&&a!==e}))).toKeyedSeq().map((function(t){return t[0]})).flip().toMap(),t.__ownerID&&(n.__ownerID=i.__ownerID=t.__ownerID)):(n=o.remove(e),i=a===u.size-1?u.pop():u.set(a,void 0))}else if(s){if(r===u.get(a)[1])return t;n=o,i=u.set(a,[e,r])}else n=o.set(e,u.size),i=u.set(u.size,[e,r]);return t.__ownerID?(t.size=n.size,t._map=n,t._list=i,t.__hash=void 0,t):qe(n,i)}function Ye(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function Ve(t){this._iter=t,this.size=t.size}function Ge(t){this._iter=t,this.size=t.size}function Qe(t){this._iter=t,this.size=t.size}function Xe(t){var e=mr(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=_r,e.__iterateUncached=function(e,r){var n=this;return t.__iterate((function(t,r){return!1!==e(r,t,n)}),r)},e.__iteratorUncached=function(e,r){if(e===L){var n=t.__iterator(e,r);return new P((function(){var t=n.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t}))}return t.__iterator(e===B?A:B,r)},e}function Ze(t,e,r){var n=mr(t);return n.size=t.size,n.has=function(e){return t.has(e)},n.get=function(n,i){var o=t.get(n,_);return o===_?i:e.call(r,o,n,t)},n.__iterateUncached=function(n,i){var o=this;return t.__iterate((function(t,i,u){return!1!==n(e.call(r,t,i,u),i,o)}),i)},n.__iteratorUncached=function(n,i){var o=t.__iterator(L,i);return new P((function(){var i=o.next();if(i.done)return i;var u=i.value,a=u[0];return j(n,a,e.call(r,u[1],a,t),i)}))},n}function $e(t,e){var r=mr(t);return r._iter=t,r.size=t.size,r.reverse=function(){return t},t.flip&&(r.flip=function(){var e=Xe(t);return e.reverse=function(){return t.flip()},e}),r.get=function(r,n){return t.get(e?r:-1-r,n)},r.has=function(r){return t.has(e?r:-1-r)},r.includes=function(e){return t.includes(e)},r.cacheResult=_r,r.__iterate=function(e,r){var n=this;return t.__iterate((function(t,r){return e(t,r,n)}),!r)},r.__iterator=function(e,r){return t.__iterator(e,!r)},r}function tr(t,e,r,n){var i=mr(t);return n&&(i.has=function(n){var i=t.get(n,_);return i!==_&&!!e.call(r,i,n,t)},i.get=function(n,i){var o=t.get(n,_);return o!==_&&e.call(r,o,n,t)?o:i}),i.__iterateUncached=function(i,o){var u=this,a=0;return t.__iterate((function(t,o,s){if(e.call(r,t,o,s))return a++,i(t,n?o:a-1,u)}),o),a},i.__iteratorUncached=function(i,o){var u=t.__iterator(L,o),a=0;return new P((function(){for(;;){var o=u.next();if(o.done)return o;var s=o.value,c=s[0],l=s[1];if(e.call(r,l,c,t))return j(i,n?c:a++,l,o)}}))},i}function er(t,e,r){var n=qt().asMutable();return t.__iterate((function(i,o){n.update(e.call(r,i,o,t),0,(function(t){return t+1}))})),n.asImmutable()}function rr(t,e,r){var n=a(t),i=(l(t)?Ue():qt()).asMutable();t.__iterate((function(o,u){i.update(e.call(r,o,u,t),(function(t){return(t=t||[]).push(n?[u,o]:o),t}))}));var o=vr(t);return i.map((function(e){return gr(t,o(e))}))}function nr(t,e,r,n){var i=t.size;if(void 0!==e&&(e|=0),void 0!==r&&(r===1/0?r=i:r|=0),K(e,r,i))return t;var o=T(e,i),u=M(r,i);if(o!=o||u!=u)return nr(t.toSeq().cacheResult(),e,r,n);var a,s=u-o;s==s&&(a=s<0?0:s);var c=mr(t);return c.size=0===a?a:t.size&&a||void 0,!n&&ot(t)&&a>=0&&(c.get=function(e,r){return(e=O(this,e))>=0&&e<a?t.get(e+o,r):r}),c.__iterateUncached=function(e,r){var i=this;if(0===a)return 0;if(r)return this.cacheResult().__iterate(e,r);var u=0,s=!0,c=0;return t.__iterate((function(t,r){if(!s||!(s=u++<o))return c++,!1!==e(t,n?r:c-1,i)&&c!==a})),c},c.__iteratorUncached=function(e,r){if(0!==a&&r)return this.cacheResult().__iterator(e,r);var i=0!==a&&t.__iterator(e,r),u=0,s=0;return new P((function(){for(;u++<o;)i.next();if(++s>a)return z();var t=i.next();return n||e===B?t:j(e,s-1,e===A?void 0:t.value[1],t)}))},c}function ir(t,e,r){var n=mr(t);return n.__iterateUncached=function(n,i){var o=this;if(i)return this.cacheResult().__iterate(n,i);var u=0;return t.__iterate((function(t,i,a){return e.call(r,t,i,a)&&++u&&n(t,i,o)})),u},n.__iteratorUncached=function(n,i){var o=this;if(i)return this.cacheResult().__iterator(n,i);var u=t.__iterator(L,i),a=!0;return new P((function(){if(!a)return z();var t=u.next();if(t.done)return t;var i=t.value,s=i[0],c=i[1];return e.call(r,c,s,o)?n===L?t:j(n,s,c,t):(a=!1,z())}))},n}function or(t,e,r,n){var i=mr(t);return i.__iterateUncached=function(i,o){var u=this;if(o)return this.cacheResult().__iterate(i,o);var a=!0,s=0;return t.__iterate((function(t,o,c){if(!a||!(a=e.call(r,t,o,c)))return s++,i(t,n?o:s-1,u)})),s},i.__iteratorUncached=function(i,o){var u=this;if(o)return this.cacheResult().__iterator(i,o);var a=t.__iterator(L,o),s=!0,c=0;return new P((function(){var t,o,l;do{if((t=a.next()).done)return n||i===B?t:j(i,c++,i===A?void 0:t.value[1],t);var f=t.value;o=f[0],l=f[1],s&&(s=e.call(r,l,o,u))}while(s);return i===L?t:j(i,o,l,t)}))},i}function ur(t,e){var r=a(t),i=[t].concat(e).map((function(t){return u(t)?r&&(t=n(t)):t=r?at(t):st(Array.isArray(t)?t:[t]),t})).filter((function(t){return 0!==t.size}));if(0===i.length)return t;if(1===i.length){var o=i[0];if(o===t||r&&a(o)||s(t)&&s(o))return o}var c=new et(i);return r?c=c.toKeyedSeq():s(t)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce((function(t,e){if(void 0!==t){var r=e.size;if(void 0!==r)return t+r}}),0),c}function ar(t,e,r){var n=mr(t);return n.__iterateUncached=function(n,i){var o=0,a=!1;function s(t,c){var l=this;t.__iterate((function(t,i){return(!e||c<e)&&u(t)?s(t,c+1):!1===n(t,r?i:o++,l)&&(a=!0),!a}),i)}return s(t,0),o},n.__iteratorUncached=function(n,i){var o=t.__iterator(n,i),a=[],s=0;return new P((function(){for(;o;){var t=o.next();if(!1===t.done){var c=t.value;if(n===L&&(c=c[1]),e&&!(a.length<e)||!u(c))return r?t:j(n,s++,c,t);a.push(o),o=c.__iterator(n,i)}else o=a.pop()}return z()}))},n}function sr(t,e,r){var n=vr(t);return t.toSeq().map((function(i,o){return n(e.call(r,i,o,t))})).flatten(!0)}function cr(t,e){var r=mr(t);return r.size=t.size&&2*t.size-1,r.__iterateUncached=function(r,n){var i=this,o=0;return t.__iterate((function(t,n){return(!o||!1!==r(e,o++,i))&&!1!==r(t,o++,i)}),n),o},r.__iteratorUncached=function(r,n){var i,o=t.__iterator(B,n),u=0;return new P((function(){return(!i||u%2)&&(i=o.next()).done?i:u%2?j(r,u++,e):j(r,u++,i.value,i)}))},r}function lr(t,e,r){e||(e=Sr);var n=a(t),i=0,o=t.toSeq().map((function(e,n){return[n,e,i++,r?r(e,n,t):e]})).toArray();return o.sort((function(t,r){return e(t[3],r[3])||t[2]-r[2]})).forEach(n?function(t,e){o[e].length=2}:function(t,e){o[e]=t[1]}),n?V(o):s(t)?G(o):Q(o)}function fr(t,e,r){if(e||(e=Sr),r){var n=t.toSeq().map((function(e,n){return[e,r(e,n,t)]})).reduce((function(t,r){return pr(e,t[1],r[1])?r:t}));return n&&n[0]}return t.reduce((function(t,r){return pr(e,t,r)?r:t}))}function pr(t,e,r){var n=t(r,e);return 0===n&&r!==e&&(null==r||r!=r)||n>0}function hr(t,e,n){var i=mr(t);return i.size=new et(n).map((function(t){return t.size})).min(),i.__iterate=function(t,e){for(var r,n=this.__iterator(B,e),i=0;!(r=n.next()).done&&!1!==t(r.value,i++,this););return i},i.__iteratorUncached=function(t,i){var o=n.map((function(t){return t=r(t),q(i?t.reverse():t)})),u=0,a=!1;return new P((function(){var r;return a||(r=o.map((function(t){return t.next()})),a=r.some((function(t){return t.done}))),a?z():j(t,u++,e.apply(null,r.map((function(t){return t.value}))))}))},i}function gr(t,e){return ot(t)?e:t.constructor(e)}function dr(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function yr(t){return Jt(t.size),E(t)}function vr(t){return a(t)?n:s(t)?i:o}function mr(t){return Object.create((a(t)?V:s(t)?G:Q).prototype)}function _r(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Y.prototype.cacheResult.call(this)}function Sr(t,e){return t>e?1:t<e?-1:0}function br(t){var e=q(t);if(!e){if(!H(t))throw new TypeError("Expected iterable or array-like: "+t);e=q(r(t))}return e}function wr(t,e){var r,n=function(o){if(o instanceof n)return o;if(!(this instanceof n))return new n(o);if(!r){r=!0;var u=Object.keys(t);Er(i,u),i.size=u.length,i._name=e,i._keys=u,i._defaultValues=t}this._map=qt(o)},i=n.prototype=Object.create(kr);return i.constructor=n,n}e(Ue,qt),Ue.of=function(){return this(arguments)},Ue.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ue.prototype.get=function(t,e){var r=this._map.get(t);return void 0!==r?this._list.get(r)[1]:e},Ue.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):We()},Ue.prototype.set=function(t,e){return He(this,t,e)},Ue.prototype.remove=function(t){return He(this,t,_)},Ue.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ue.prototype.__iterate=function(t,e){var r=this;return this._list.__iterate((function(e){return e&&t(e[1],e[0],r)}),e)},Ue.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Ue.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),r=this._list.__ensureOwner(t);return t?qe(e,r,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=r,this)},Ue.isOrderedMap=Je,Ue.prototype[g]=!0,Ue.prototype[d]=Ue.prototype.remove,e(Ye,V),Ye.prototype.get=function(t,e){return this._iter.get(t,e)},Ye.prototype.has=function(t){return this._iter.has(t)},Ye.prototype.valueSeq=function(){return this._iter.valueSeq()},Ye.prototype.reverse=function(){var t=this,e=$e(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},Ye.prototype.map=function(t,e){var r=this,n=Ze(this,t,e);return this._useKeys||(n.valueSeq=function(){return r._iter.toSeq().map(t,e)}),n},Ye.prototype.__iterate=function(t,e){var r,n=this;return this._iter.__iterate(this._useKeys?function(e,r){return t(e,r,n)}:(r=e?yr(this):0,function(i){return t(i,e?--r:r++,n)}),e)},Ye.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var r=this._iter.__iterator(B,e),n=e?yr(this):0;return new P((function(){var i=r.next();return i.done?i:j(t,e?--n:n++,i.value,i)}))},Ye.prototype[g]=!0,e(Ve,G),Ve.prototype.includes=function(t){return this._iter.includes(t)},Ve.prototype.__iterate=function(t,e){var r=this,n=0;return this._iter.__iterate((function(e){return t(e,n++,r)}),e)},Ve.prototype.__iterator=function(t,e){var r=this._iter.__iterator(B,e),n=0;return new P((function(){var e=r.next();return e.done?e:j(t,n++,e.value,e)}))},e(Ge,Q),Ge.prototype.has=function(t){return this._iter.includes(t)},Ge.prototype.__iterate=function(t,e){var r=this;return this._iter.__iterate((function(e){return t(e,e,r)}),e)},Ge.prototype.__iterator=function(t,e){var r=this._iter.__iterator(B,e);return new P((function(){var e=r.next();return e.done?e:j(t,e.value,e.value,e)}))},e(Qe,V),Qe.prototype.entrySeq=function(){return this._iter.toSeq()},Qe.prototype.__iterate=function(t,e){var r=this;return this._iter.__iterate((function(e){if(e){dr(e);var n=u(e);return t(n?e.get(1):e[1],n?e.get(0):e[0],r)}}),e)},Qe.prototype.__iterator=function(t,e){var r=this._iter.__iterator(B,e);return new P((function(){for(;;){var e=r.next();if(e.done)return e;var n=e.value;if(n){dr(n);var i=u(n);return j(t,i?n.get(0):n[0],i?n.get(1):n[1],e)}}}))},Ve.prototype.cacheResult=Ye.prototype.cacheResult=Ge.prototype.cacheResult=Qe.prototype.cacheResult=_r,e(wr,kt),wr.prototype.toString=function(){return this.__toString(Cr(this)+" {","}")},wr.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},wr.prototype.get=function(t,e){if(!this.has(t))return e;var r=this._defaultValues[t];return this._map?this._map.get(t,r):r},wr.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=xr(this,ie()))},wr.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+Cr(this));if(this._map&&!this._map.has(t)&&e===this._defaultValues[t])return this;var r=this._map&&this._map.set(t,e);return this.__ownerID||r===this._map?this:xr(this,r)},wr.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:xr(this,e)},wr.prototype.wasAltered=function(){return this._map.wasAltered()},wr.prototype.__iterator=function(t,e){var r=this;return n(this._defaultValues).map((function(t,e){return r.get(e)})).__iterator(t,e)},wr.prototype.__iterate=function(t,e){var r=this;return n(this._defaultValues).map((function(t,e){return r.get(e)})).__iterate(t,e)},wr.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?xr(this,e,t):(this.__ownerID=t,this._map=e,this)};var kr=wr.prototype;function xr(t,e,r){var n=Object.create(Object.getPrototypeOf(t));return n._map=e,n.__ownerID=r,n}function Cr(t){return t._name||t.constructor.name||"Record"}function Er(t,e){try{e.forEach(Or.bind(void 0,t))}catch(t){}}function Or(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){St(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function Dr(t){return null==t?Lr():Kr(t)&&!l(t)?t:Lr().withMutations((function(e){var r=o(t);Jt(r.size),r.forEach((function(t){return e.add(t)}))}))}function Kr(t){return!(!t||!t[Mr])}kr[d]=kr.remove,kr.deleteIn=kr.removeIn=Vt.removeIn,kr.merge=Vt.merge,kr.mergeWith=Vt.mergeWith,kr.mergeIn=Vt.mergeIn,kr.mergeDeep=Vt.mergeDeep,kr.mergeDeepWith=Vt.mergeDeepWith,kr.mergeDeepIn=Vt.mergeDeepIn,kr.setIn=Vt.setIn,kr.update=Vt.update,kr.updateIn=Vt.updateIn,kr.withMutations=Vt.withMutations,kr.asMutable=Vt.asMutable,kr.asImmutable=Vt.asImmutable,e(Dr,Ct),Dr.of=function(){return this(arguments)},Dr.fromKeys=function(t){return this(n(t).keySeq())},Dr.prototype.toString=function(){return this.__toString("Set {","}")},Dr.prototype.has=function(t){return this._map.has(t)},Dr.prototype.add=function(t){return Ar(this,this._map.set(t,!0))},Dr.prototype.remove=function(t){return Ar(this,this._map.remove(t))},Dr.prototype.clear=function(){return Ar(this,this._map.clear())},Dr.prototype.union=function(){var e=t.call(arguments,0);return 0===(e=e.filter((function(t){return 0!==t.size}))).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations((function(t){for(var r=0;r<e.length;r++)o(e[r]).forEach((function(e){return t.add(e)}))})):this.constructor(e[0])},Dr.prototype.intersect=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return o(t)}));var r=this;return this.withMutations((function(t){r.forEach((function(r){e.every((function(t){return t.includes(r)}))||t.remove(r)}))}))},Dr.prototype.subtract=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return o(t)}));var r=this;return this.withMutations((function(t){r.forEach((function(r){e.some((function(t){return t.includes(r)}))&&t.remove(r)}))}))},Dr.prototype.merge=function(){return this.union.apply(this,arguments)},Dr.prototype.mergeWith=function(e){var r=t.call(arguments,1);return this.union.apply(this,r)},Dr.prototype.sort=function(t){return Rr(lr(this,t))},Dr.prototype.sortBy=function(t,e){return Rr(lr(this,e,t))},Dr.prototype.wasAltered=function(){return this._map.wasAltered()},Dr.prototype.__iterate=function(t,e){var r=this;return this._map.__iterate((function(e,n){return t(n,n,r)}),e)},Dr.prototype.__iterator=function(t,e){return this._map.map((function(t,e){return e})).__iterator(t,e)},Dr.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):(this.__ownerID=t,this._map=e,this)},Dr.isSet=Kr;var Tr,Mr="@@__IMMUTABLE_SET__@@",Ir=Dr.prototype;function Ar(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function Br(t,e){var r=Object.create(Ir);return r.size=t?t.size:0,r._map=t,r.__ownerID=e,r}function Lr(){return Tr||(Tr=Br(ie()))}function Rr(t){return null==t?zr():Fr(t)?t:zr().withMutations((function(e){var r=o(t);Jt(r.size),r.forEach((function(t){return e.add(t)}))}))}function Fr(t){return Kr(t)&&l(t)}Ir[Mr]=!0,Ir[d]=Ir.remove,Ir.mergeDeep=Ir.merge,Ir.mergeDeepWith=Ir.mergeWith,Ir.withMutations=Vt.withMutations,Ir.asMutable=Vt.asMutable,Ir.asImmutable=Vt.asImmutable,Ir.__empty=Lr,Ir.__make=Br,e(Rr,Dr),Rr.of=function(){return this(arguments)},Rr.fromKeys=function(t){return this(n(t).keySeq())},Rr.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Rr.isOrderedSet=Fr;var Nr,Pr=Rr.prototype;function jr(t,e){var r=Object.create(Pr);return r.size=t?t.size:0,r._map=t,r.__ownerID=e,r}function zr(){return Nr||(Nr=jr(We()))}function Ur(t){return null==t?Vr():Jr(t)?t:Vr().unshiftAll(t)}function Jr(t){return!(!t||!t[Wr])}Pr[g]=!0,Pr.__empty=zr,Pr.__make=jr,e(Ur,xt),Ur.of=function(){return this(arguments)},Ur.prototype.toString=function(){return this.__toString("Stack [","]")},Ur.prototype.get=function(t,e){var r=this._head;for(t=O(this,t);r&&t--;)r=r.next;return r?r.value:e},Ur.prototype.peek=function(){return this._head&&this._head.value},Ur.prototype.push=function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,r=arguments.length-1;r>=0;r--)e={value:arguments[r],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):Yr(t,e)},Ur.prototype.pushAll=function(t){if(0===(t=i(t)).size)return this;Jt(t.size);var e=this.size,r=this._head;return t.reverse().forEach((function(t){e++,r={value:t,next:r}})),this.__ownerID?(this.size=e,this._head=r,this.__hash=void 0,this.__altered=!0,this):Yr(e,r)},Ur.prototype.pop=function(){return this.slice(1)},Ur.prototype.unshift=function(){return this.push.apply(this,arguments)},Ur.prototype.unshiftAll=function(t){return this.pushAll(t)},Ur.prototype.shift=function(){return this.pop.apply(this,arguments)},Ur.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Vr()},Ur.prototype.slice=function(t,e){if(K(t,e,this.size))return this;var r=T(t,this.size);if(M(e,this.size)!==this.size)return xt.prototype.slice.call(this,t,e);for(var n=this.size-r,i=this._head;r--;)i=i.next;return this.__ownerID?(this.size=n,this._head=i,this.__hash=void 0,this.__altered=!0,this):Yr(n,i)},Ur.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Yr(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Ur.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var r=0,n=this._head;n&&!1!==t(n.value,r++,this);)n=n.next;return r},Ur.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var r=0,n=this._head;return new P((function(){if(n){var e=n.value;return n=n.next,j(t,r++,e)}return z()}))},Ur.isStack=Jr;var qr,Wr="@@__IMMUTABLE_STACK__@@",Hr=Ur.prototype;function Yr(t,e,r,n){var i=Object.create(Hr);return i.size=t,i._head=e,i.__ownerID=r,i.__hash=n,i.__altered=!1,i}function Vr(){return qr||(qr=Yr(0))}function Gr(t,e){var r=function(r){t.prototype[r]=e[r]};return Object.keys(e).forEach(r),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(r),t}Hr[Wr]=!0,Hr.withMutations=Vt.withMutations,Hr.asMutable=Vt.asMutable,Hr.asImmutable=Vt.asImmutable,Hr.wasAltered=Vt.wasAltered,r.Iterator=P,Gr(r,{toArray:function(){Jt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate((function(e,r){t[r]=e})),t},toIndexedSeq:function(){return new Ve(this)},toJS:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJS?t.toJS():t})).__toJS()},toJSON:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t})).__toJS()},toKeyedSeq:function(){return new Ye(this,!0)},toMap:function(){return qt(this.toKeyedSeq())},toObject:function(){Jt(this.size);var t={};return this.__iterate((function(e,r){t[r]=e})),t},toOrderedMap:function(){return Ue(this.toKeyedSeq())},toOrderedSet:function(){return Rr(a(this)?this.valueSeq():this)},toSet:function(){return Dr(a(this)?this.valueSeq():this)},toSetSeq:function(){return new Ge(this)},toSeq:function(){return s(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Ur(a(this)?this.valueSeq():this)},toList:function(){return xe(a(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){return gr(this,ur(this,t.call(arguments,0)))},includes:function(t){return this.some((function(e){return vt(e,t)}))},entries:function(){return this.__iterator(L)},every:function(t,e){Jt(this.size);var r=!0;return this.__iterate((function(n,i,o){if(!t.call(e,n,i,o))return r=!1,!1})),r},filter:function(t,e){return gr(this,tr(this,t,e,!0))},find:function(t,e,r){var n=this.findEntry(t,e);return n?n[1]:r},forEach:function(t,e){return Jt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){Jt(this.size),t=void 0!==t?""+t:",";var e="",r=!0;return this.__iterate((function(n){r?r=!1:e+=t,e+=null!=n?n.toString():""})),e},keys:function(){return this.__iterator(A)},map:function(t,e){return gr(this,Ze(this,t,e))},reduce:function(t,e,r){var n,i;return Jt(this.size),arguments.length<2?i=!0:n=e,this.__iterate((function(e,o,u){i?(i=!1,n=e):n=t.call(r,n,e,o,u)})),n},reduceRight:function(t,e,r){var n=this.toKeyedSeq().reverse();return n.reduce.apply(n,arguments)},reverse:function(){return gr(this,$e(this,!0))},slice:function(t,e){return gr(this,nr(this,t,e,!0))},some:function(t,e){return!this.every(tn(t),e)},sort:function(t){return gr(this,lr(this,t))},values:function(){return this.__iterator(B)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(t,e){return E(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return er(this,t,e)},equals:function(t){return mt(this,t)},entrySeq:function(){var t=this;if(t._cache)return new et(t._cache);var e=t.toSeq().map($r).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(tn(t),e)},findEntry:function(t,e,r){var n=r;return this.__iterate((function(r,i,o){if(t.call(e,r,i,o))return n=[i,r],!1})),n},findKey:function(t,e){var r=this.findEntry(t,e);return r&&r[0]},findLast:function(t,e,r){return this.toKeyedSeq().reverse().find(t,e,r)},findLastEntry:function(t,e,r){return this.toKeyedSeq().reverse().findEntry(t,e,r)},findLastKey:function(t,e){return this.toKeyedSeq().reverse().findKey(t,e)},first:function(){return this.find(D)},flatMap:function(t,e){return gr(this,sr(this,t,e))},flatten:function(t){return gr(this,ar(this,t,!0))},fromEntrySeq:function(){return new Qe(this)},get:function(t,e){return this.find((function(e,r){return vt(r,t)}),void 0,e)},getIn:function(t,e){for(var r,n=this,i=br(t);!(r=i.next()).done;){var o=r.value;if((n=n&&n.get?n.get(o,_):_)===_)return e}return n},groupBy:function(t,e){return rr(this,t,e)},has:function(t){return this.get(t,_)!==_},hasIn:function(t){return this.getIn(t,_)!==_},isSubset:function(t){return t="function"==typeof t.includes?t:r(t),this.every((function(e){return t.includes(e)}))},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:r(t)).isSubset(this)},keyOf:function(t){return this.findKey((function(e){return vt(e,t)}))},keySeq:function(){return this.toSeq().map(Zr).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(t){return this.toKeyedSeq().reverse().keyOf(t)},max:function(t){return fr(this,t)},maxBy:function(t,e){return fr(this,e,t)},min:function(t){return fr(this,t?en(t):on)},minBy:function(t,e){return fr(this,e?en(e):on,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return gr(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return gr(this,or(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(tn(t),e)},sortBy:function(t,e){return gr(this,lr(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return gr(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return gr(this,ir(this,t,e))},takeUntil:function(t,e){return this.takeWhile(tn(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=un(this))}});var Qr=r.prototype;Qr[f]=!0,Qr[N]=Qr.values,Qr.__toJS=Qr.toArray,Qr.__toStringMapper=rn,Qr.inspect=Qr.toSource=function(){return this.toString()},Qr.chain=Qr.flatMap,Qr.contains=Qr.includes,Gr(n,{flip:function(){return gr(this,Xe(this))},mapEntries:function(t,e){var r=this,n=0;return gr(this,this.toSeq().map((function(i,o){return t.call(e,[o,i],n++,r)})).fromEntrySeq())},mapKeys:function(t,e){var r=this;return gr(this,this.toSeq().flip().map((function(n,i){return t.call(e,n,i,r)})).flip())}});var Xr=n.prototype;function Zr(t,e){return e}function $r(t,e){return[e,t]}function tn(t){return function(){return!t.apply(this,arguments)}}function en(t){return function(){return-t.apply(this,arguments)}}function rn(t){return"string"==typeof t?JSON.stringify(t):String(t)}function nn(){return C(arguments)}function on(t,e){return t<e?1:t>e?-1:0}function un(t){if(t.size===1/0)return 0;var e=l(t),r=a(t),n=e?1:0;return an(t.__iterate(r?e?function(t,e){n=31*n+sn(Dt(t),Dt(e))|0}:function(t,e){n=n+sn(Dt(t),Dt(e))|0}:e?function(t){n=31*n+Dt(t)|0}:function(t){n=n+Dt(t)|0}),n)}function an(t,e){return e=Et(e,3432918353),e=Et(e<<15|e>>>-15,461845907),e=Et(e<<13|e>>>-13,5),e=Et((e=(e+3864292196|0)^t)^e>>>16,2246822507),e=Ot((e=Et(e^e>>>13,3266489909))^e>>>16)}function sn(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}return Xr[p]=!0,Xr[N]=Qr.entries,Xr.__toJS=Qr.toObject,Xr.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+rn(t)},Gr(i,{toKeyedSeq:function(){return new Ye(this,!1)},filter:function(t,e){return gr(this,tr(this,t,e,!1))},findIndex:function(t,e){var r=this.findEntry(t,e);return r?r[0]:-1},indexOf:function(t){var e=this.keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.lastKeyOf(t);return void 0===e?-1:e},reverse:function(){return gr(this,$e(this,!1))},slice:function(t,e){return gr(this,nr(this,t,e,!1))},splice:function(t,e){var r=arguments.length;if(e=Math.max(0|e,0),0===r||2===r&&!e)return this;t=T(t,t<0?this.count():this.size);var n=this.slice(0,t);return gr(this,1===r?n:n.concat(C(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var r=this.findLastEntry(t,e);return r?r[0]:-1},first:function(){return this.get(0)},flatten:function(t){return gr(this,ar(this,t,!1))},get:function(t,e){return(t=O(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find((function(e,r){return r===t}),void 0,e)},has:function(t){return(t=O(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return gr(this,cr(this,t))},interleave:function(){var t=[this].concat(C(arguments)),e=hr(this.toSeq(),G.of,t),r=e.flatten(!0);return e.size&&(r.size=e.size*t.length),gr(this,r)},keySeq:function(){return bt(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(t,e){return gr(this,or(this,t,e,!1))},zip:function(){return gr(this,hr(this,nn,[this].concat(C(arguments))))},zipWith:function(t){var e=C(arguments);return e[0]=this,gr(this,hr(this,t,e))}}),i.prototype[h]=!0,i.prototype[g]=!0,Gr(o,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Qr.includes,o.prototype.contains=o.prototype.includes,Gr(V,n.prototype),Gr(G,i.prototype),Gr(Q,o.prototype),Gr(kt,n.prototype),Gr(xt,i.prototype),Gr(Ct,o.prototype),{Iterable:r,Seq:Y,Collection:wt,Map:qt,OrderedMap:Ue,List:xe,Stack:Ur,Set:Dr,OrderedSet:Rr,Record:wr,Range:bt,Repeat:_t,is:vt,fromJS:ht}}()},KL9H:function(t,e,r){"use strict";var n=r("K4CH"),i="Unknown",o={"Mac OS":"Mac OS X"};var u,a=(new n).getResult(),s=function(t){if(!t)return{major:"",minor:""};var e=t.split(".");return{major:e[0],minor:e[1]}}(a.browser.version),c={browserArchitecture:a.cpu.architecture||i,browserFullVersion:a.browser.version||i,browserMinorVersion:s.minor||i,browserName:a.browser.name||i,browserVersion:a.browser.major||i,deviceName:a.device.model||i,engineName:a.engine.name||i,engineVersion:a.engine.version||i,platformArchitecture:a.cpu.architecture||i,platformName:(u=a.os.name,o[u]||u||i),platformVersion:a.os.version||i,platformFullVersion:a.os.version||i};t.exports=c},L0q3:function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var i=r("Taje"),o=r("UevE"),u=r("JPcv"),a=u.List,s=u.Repeat,c=u.Record,l=function(){return!0},f=c({start:null,end:null}),p=c({start:null,end:null,decoratorKey:null,leaves:null}),h={generate:function(t,e,r){var n=e.getLength();if(!n)return a.of(new p({start:0,end:0,decoratorKey:null,leaves:a.of(new f({start:0,end:0}))}));var o=[],u=r?r.getDecorations(e,t):a(s(null,n)),c=e.getCharacterList();return i(u,d,l,(function(t,e){o.push(new p({start:t,end:e,decoratorKey:u.get(t),leaves:g(c.slice(t,e).toList(),t)}))})),a(o)},fromJS:function(t){var e=t.leaves,r=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,["leaves"]);return new p(function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},i=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),i.forEach((function(e){n(t,e,r[e])}))}return t}({},r,{leaves:null!=e?a(Array.isArray(e)?e:o(e)).map((function(t){return f(t)})):null}))}};function g(t,e){var r=[],n=t.map((function(t){return t.getStyle()})).toList();return i(n,d,l,(function(t,n){r.push(new f({start:t+e,end:n+e}))})),a(r)}function d(t,e){return t===e}t.exports=h},L2EA:function(t,e,r){"use strict";var n=r("YeVe"),i=r("JL7T"),o=r("JPcv"),u=r("Zf/v"),a=r("2NuI"),s=r("V8dp"),c=o.List,l=function(t,e,r,n,i,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",s=r.get(i),c=s.getText(),l=s.getCharacterList(),f=i,p=o+n.getText().length,h=null;switch(a){case"MERGE_OLD_DATA_TO_NEW_DATA":h=n.getData().merge(s.getData());break;case"REPLACE_WITH_NEW_DATA":h=n.getData()}var g=s.getType();c&&"unstyled"===g&&(g=n.getType());var d=s.merge({text:c.slice(0,o)+n.getText()+c.slice(o),characterList:u(l,n.getCharacterList(),o),type:g,data:h});return t.merge({blockMap:r.set(i,d),selectionBefore:e,selectionAfter:e.merge({anchorKey:f,anchorOffset:p,focusKey:f,focusOffset:p,isBackward:!1})})},f=function(t,e,r,o,u,a){var s=r.first()instanceof i,l=[],f=o.size,p=r.get(u),h=o.first(),g=o.last(),d=g.getLength(),y=g.getKey(),v=s&&(!p.getChildKeys().isEmpty()||!h.getChildKeys().isEmpty());r.forEach((function(t,e){e===u?(v?l.push(t):l.push(function(t,e,r){var n=t.getText(),i=t.getCharacterList(),o=n.slice(0,e),u=i.slice(0,e),a=r.first();return t.merge({text:o+a.getText(),characterList:u.concat(a.getCharacterList()),type:o?t.getType():a.getType(),data:a.getData()})}(t,a,o)),o.slice(v?0:1,f-1).forEach((function(t){return l.push(t)})),l.push(function(t,e,r){var n=t.getText(),i=t.getCharacterList(),o=n.length,u=n.slice(e,o),a=i.slice(e,o),s=r.last();return s.merge({text:s.getText()+u,characterList:s.getCharacterList().concat(a),data:s.getData()})}(t,a,o))):l.push(t)}));var m=n.createFromArray(l);return s&&(m=function(t,e,r,n){return t.withMutations((function(e){var i=r.getKey(),o=n.getKey(),u=r.getNextSiblingKey(),a=r.getParentKey(),s=function(t,e){var r=t.getKey(),n=t,i=[];for(e.get(r)&&i.push(r);n&&n.getNextSiblingKey();){var o=n.getNextSiblingKey();if(!o)break;i.push(o),n=e.get(o)}return i}(n,t),l=s[s.length-1];if(e.get(o)?(e.setIn([i,"nextSibling"],o),e.setIn([o,"prevSibling"],i)):(e.setIn([i,"nextSibling"],n.getNextSiblingKey()),e.setIn([n.getNextSiblingKey(),"prevSibling"],i)),e.setIn([l,"nextSibling"],u),u&&e.setIn([u,"prevSibling"],l),s.forEach((function(t){return e.setIn([t,"parent"],a)})),a){var f=t.get(a).getChildKeys(),p=f.indexOf(i)+1,h=f.toArray();h.splice.apply(h,[p,0].concat(s)),e.setIn([a,"children"],c(h))}}))}(m,0,p,h)),t.merge({blockMap:m,selectionBefore:e,selectionAfter:e.merge({anchorKey:y,anchorOffset:d,focusKey:y,focusOffset:d,isBackward:!1})})};t.exports=function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";e.isCollapsed()||a(!1);var o=t.getBlockMap(),u=s(r),c=e.getStartKey(),p=e.getStartOffset(),h=o.get(c);return h instanceof i&&(h.getChildKeys().isEmpty()||a(!1)),1===u.size?l(t,e,o,u.first(),c,p,n):f(t,e,o,u,c,p)}},LPhD:function(t,e,r){var n=r("R/W3");t.exports=function(t,e){for(var r=t.length;r--&&n(e,t[r],0)>-1;);return r}},LpQA:function(t,e,r){"use strict";function n(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){i(t,e,r[e])}))}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r("YeVe"),u=r("lFJn"),a=r("8uQm"),s=r("JL7T"),c=r("TzU/"),l=r("hMpd"),f=r("rJY1"),p=r("UevE"),h=r("cwFY"),g=r("JPcv"),d=r("HriT"),y=g.List,v=g.Record,m=g.Repeat,_=g.Map,S=g.OrderedMap,b=v({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),w=h("draft_tree_data_support")?s:a,k=function(t){var e,r;function i(){return t.apply(this,arguments)||this}r=t,(e=i).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var a=i.prototype;return a.getEntityMap=function(){return c},a.getBlockMap=function(){return this.get("blockMap")},a.getSelectionBefore=function(){return this.get("selectionBefore")},a.getSelectionAfter=function(){return this.get("selectionAfter")},a.getBlockForKey=function(t){return this.getBlockMap().get(t)},a.getKeyBefore=function(t){return this.getBlockMap().reverse().keySeq().skipUntil((function(e){return e===t})).skip(1).first()},a.getKeyAfter=function(t){return this.getBlockMap().keySeq().skipUntil((function(e){return e===t})).skip(1).first()},a.getBlockAfter=function(t){return this.getBlockMap().skipUntil((function(e,r){return r===t})).skip(1).first()},a.getBlockBefore=function(t){return this.getBlockMap().reverse().skipUntil((function(e,r){return r===t})).skip(1).first()},a.getBlocksAsArray=function(){return this.getBlockMap().toArray()},a.getFirstBlock=function(){return this.getBlockMap().first()},a.getLastBlock=function(){return this.getBlockMap().last()},a.getPlainText=function(t){return this.getBlockMap().map((function(t){return t?t.getText():""})).join(t||"\n")},a.getLastCreatedEntityKey=function(){return c.__getLastCreatedEntityKey()},a.hasText=function(){var t=this.getBlockMap();return t.size>1||escape(t.first().getText()).replace(/%u200B/g,"").length>0},a.createEntity=function(t,e,r){return c.__create(t,e,r),this},a.mergeEntityData=function(t,e){return c.__mergeData(t,e),this},a.replaceEntityData=function(t,e){return c.__replaceData(t,e),this},a.addEntity=function(t){return c.__add(t),this},a.getEntity=function(t){return c.__get(t)},a.getAllEntities=function(){return c.__getAll()},a.loadWithEntities=function(t){return c.__loadWithEntities(t)},i.createFromBlockArray=function(t,e){var r=Array.isArray(t)?t:t.contentBlocks,n=o.createFromArray(r),u=n.isEmpty()?new l:l.createEmpty(n.first().getKey());return new i({blockMap:n,entityMap:e||c,selectionBefore:u,selectionAfter:u})},i.createFromText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,r=t.split(e),n=r.map((function(t){return t=d(t),new w({key:f(),text:t,type:"unstyled",characterList:y(m(u.EMPTY,t.length))})}));return i.createFromBlockArray(n)},i.fromJS=function(t){return new i(n({},t,{blockMap:S(t.blockMap).map(i.createContentBlockFromJS),selectionBefore:new l(t.selectionBefore),selectionAfter:new l(t.selectionAfter)}))},i.createContentBlockFromJS=function(t){var e=t.characterList;return new w(n({},t,{data:_(t.data),characterList:null!=e?y((Array.isArray(e)?e:p(e)).map((function(t){return u.fromJS(t)}))):void 0}))},i}(b);t.exports=k},M6rc:function(t,e,r){"use strict";var n=r("lFJn"),i=r("JPcv").Map,o={add:function(t,e,r){return u(t,e,r,!0)},remove:function(t,e,r){return u(t,e,r,!1)}};function u(t,e,r,o){var u=t.getBlockMap(),a=e.getStartKey(),s=e.getStartOffset(),c=e.getEndKey(),l=e.getEndOffset(),f=u.skipUntil((function(t,e){return e===a})).takeUntil((function(t,e){return e===c})).concat(i([[c,u.get(c)]])).map((function(t,e){var i,u;a===c?(i=s,u=l):(i=e===a?s:0,u=e===c?l:t.getLength());for(var f,p=t.getCharacterList();i<u;)f=p.get(i),p=p.set(i,o?n.applyStyle(f,r):n.removeStyle(f,r)),i++;return t.set("characterList",p)}));return t.merge({blockMap:u.merge(f),selectionBefore:e,selectionAfter:e})}t.exports=o},MPKC:function(t,e,r){"use strict";var n=r("fyOY"),i=r("3sOJ");t.exports=function(t){var e=n.splitBlock(t.getCurrentContent(),t.getSelection());return i.push(t,e,"split-block")}},MbRH:function(t,e,r){"use strict";t.exports=function(t){if(!t||!("ownerDocument"in t))return!1;if("ownerDocument"in t){var e=t;if(!e.ownerDocument.defaultView)return e instanceof Node;if(e instanceof e.ownerDocument.defaultView.Node)return!0}return!1}},Mh8y:function(t,e,r){"use strict";var n=r("JPcv").Map;t.exports=function(t,e,r){var i=e.getStartKey(),o=e.getEndKey(),u=t.getBlockMap(),a=u.toSeq().skipUntil((function(t,e){return e===i})).takeUntil((function(t,e){return e===o})).concat(n([[o,u.get(o)]])).map(r);return t.merge({blockMap:u.merge(a),selectionBefore:e,selectionAfter:e})}},MxAa:function(t,e,r){"use strict";t.exports=function(t){return t.Window&&t instanceof t.Window?{x:t.pageXOffset||t.document.documentElement.scrollLeft,y:t.pageYOffset||t.document.documentElement.scrollTop}:{x:t.scrollLeft,y:t.scrollTop}}},NQV1:function(t,e,r){"use strict";var n={isImage:function(t){return"image"===i(t)[0]},isJpeg:function(t){var e=i(t);return n.isImage(t)&&("jpeg"===e[1]||"pjpeg"===e[1])}};function i(t){return t.split("/")}t.exports=n},NgHg:function(t,e,r){"use strict";var n=/-(.)/g;t.exports=function(t){return t.replace(n,(function(t,e){return e.toUpperCase()}))}},"Nx4+":function(t,e,r){"use strict";var n=r("fyOY"),i=r("3sOJ"),o=r("AKPT"),u=r("gWRK"),a={currentBlockContainsLink:function(t){var e=t.getSelection(),r=t.getCurrentContent(),n=r.getEntityMap();return r.getBlockForKey(e.getAnchorKey()).getCharacterList().slice(e.getStartOffset(),e.getEndOffset()).some((function(t){var e=t.getEntity();return!!e&&"LINK"===n.__get(e).getType()}))},getCurrentBlockType:function(t){var e=t.getSelection();return t.getCurrentContent().getBlockForKey(e.getStartKey()).getType()},getDataObjectForLinkURL:function(t){return{url:t.toString()}},handleKeyCommand:function(t,e,r){switch(e){case"bold":return a.toggleInlineStyle(t,"BOLD");case"italic":return a.toggleInlineStyle(t,"ITALIC");case"underline":return a.toggleInlineStyle(t,"UNDERLINE");case"code":return a.toggleCode(t);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return a.onBackspace(t);case"delete":case"delete-word":case"delete-to-end-of-block":return a.onDelete(t);default:return null}},insertSoftNewline:function(t){var e=n.insertText(t.getCurrentContent(),t.getSelection(),"\n",t.getCurrentInlineStyle(),null),r=i.push(t,e,"insert-characters");return i.forceSelection(r,e.getSelectionAfter())},onBackspace:function(t){var e=t.getSelection();if(!e.isCollapsed()||e.getAnchorOffset()||e.getFocusOffset())return null;var r=t.getCurrentContent(),n=e.getStartKey(),o=r.getBlockBefore(n);if(o&&"atomic"===o.getType()){var u=r.getBlockMap().delete(o.getKey()),s=r.merge({blockMap:u,selectionAfter:e});if(s!==r)return i.push(t,s,"remove-range")}var c=a.tryToRemoveBlockStyle(t);return c?i.push(t,c,"change-block-type"):null},onDelete:function(t){var e=t.getSelection();if(!e.isCollapsed())return null;var r=t.getCurrentContent(),o=e.getStartKey(),u=r.getBlockForKey(o).getLength();if(e.getStartOffset()<u)return null;var a=r.getBlockAfter(o);if(!a||"atomic"!==a.getType())return null;var s=e.merge({focusKey:a.getKey(),focusOffset:a.getLength()}),c=n.removeRange(r,s,"forward");return c!==r?i.push(t,c,"remove-range"):null},onTab:function(t,e,r){var n=e.getSelection(),u=n.getAnchorKey();if(u!==n.getFocusKey())return e;var a=e.getCurrentContent(),s=a.getBlockForKey(u),c=s.getType();if("unordered-list-item"!==c&&"ordered-list-item"!==c)return e;t.preventDefault();var l=s.getDepth();if(!t.shiftKey&&l===r)return e;var f=o(a,n,t.shiftKey?-1:1,r);return i.push(e,f,"adjust-depth")},toggleBlockType:function(t,e){var r=t.getSelection(),o=r.getStartKey(),a=r.getEndKey(),s=t.getCurrentContent(),c=r;if(o!==a&&0===r.getEndOffset()){var l=u(s.getBlockBefore(a));a=l.getKey(),c=c.merge({anchorKey:o,anchorOffset:r.getStartOffset(),focusKey:a,focusOffset:l.getLength(),isBackward:!1})}if(s.getBlockMap().skipWhile((function(t,e){return e!==o})).reverse().skipWhile((function(t,e){return e!==a})).some((function(t){return"atomic"===t.getType()})))return t;var f=s.getBlockForKey(o).getType()===e?"unstyled":e;return i.push(t,n.setBlockType(s,c,f),"change-block-type")},toggleCode:function(t){var e=t.getSelection(),r=e.getAnchorKey(),n=e.getFocusKey();return e.isCollapsed()||r!==n?a.toggleBlockType(t,"code-block"):a.toggleInlineStyle(t,"CODE")},toggleInlineStyle:function(t,e){var r=t.getSelection(),o=t.getCurrentInlineStyle();if(r.isCollapsed())return i.setInlineStyleOverride(t,o.has(e)?o.remove(e):o.add(e));var u,a=t.getCurrentContent();return u=o.has(e)?n.removeInlineStyle(a,r,e):n.applyInlineStyle(a,r,e),i.push(t,u,"change-inline-style")},toggleLink:function(t,e,r){var o=n.applyEntity(t.getCurrentContent(),e,r);return i.push(t,o,"apply-entity")},tryToRemoveBlockStyle:function(t){var e=t.getSelection(),r=e.getAnchorOffset();if(e.isCollapsed()&&0===r){var i=e.getAnchorKey(),o=t.getCurrentContent(),u=o.getBlockForKey(i).getType(),a=o.getBlockBefore(i);if("code-block"===u&&a&&"code-block"===a.getType()&&0!==a.getLength())return null;if("unstyled"!==u)return n.setBlockType(o,e,"unstyled")}return null}};t.exports=a},O4zn:function(t,e,r){"use strict";var n=r("m75S"),i=r("FcOR"),o=r("CYTE"),u=r("TWoB"),a=r("jl2H"),s=r("F09w"),c=r("2NuI"),l=r("GyOf"),f=o.isBrowser("IE");function p(t,e){if(!t)return"[empty]";var r=h(t,e);return r.nodeType===Node.TEXT_NODE?r.textContent:(l(r)||c(!1),r.outerHTML)}function h(t,e){var r=void 0!==e?e(t):[];if(t.nodeType===Node.TEXT_NODE){var n=t.textContent.length;return s(t).createTextNode("[text "+n+(r.length?" | "+r.join(", "):"")+"]")}var i=t.cloneNode();1===i.nodeType&&r.length&&i.setAttribute("data-labels",r.join(", "));for(var o=t.childNodes,u=0;u<o.length;u++)i.appendChild(h(o[u],e));return i}function g(t,e){for(var r=t,n=r;r;){if(l(r)&&n.hasAttribute("contenteditable"))return p(r,e);n=r=r.parentNode}return"Could not find contentEditable parent of node"}function d(t){return null===t.nodeValue?t.childNodes.length:t.nodeValue.length}function y(t,e,r,n){var o=a();if(t.extend&&null!=e&&u(o,e)){r>d(e)&&i.logSelectionStateFailure({anonymizedDom:g(e),extraParams:JSON.stringify({offset:r}),selectionState:JSON.stringify(n.toJS())});var s=e===t.focusNode;try{t.rangeCount>0&&t.extend&&t.extend(e,r)}catch(u){throw i.logSelectionStateFailure({anonymizedDom:g(e,(function(e){var r=[];return e===o&&r.push("active element"),e===t.anchorNode&&r.push("selection anchor node"),e===t.focusNode&&r.push("selection focus node"),r})),extraParams:JSON.stringify({activeElementName:o?o.nodeName:null,nodeIsFocus:e===t.focusNode,nodeWasFocus:s,selectionRangeCount:t.rangeCount,selectionAnchorNodeName:t.anchorNode?t.anchorNode.nodeName:null,selectionAnchorOffset:t.anchorOffset,selectionFocusNodeName:t.focusNode?t.focusNode.nodeName:null,selectionFocusOffset:t.focusOffset,message:u?""+u:null,offset:r},null,2),selectionState:JSON.stringify(n.toJS(),null,2)}),u}}else if(e&&t.rangeCount>0){var c=t.getRangeAt(0);c.setEnd(e,r),t.addRange(c.cloneRange())}}function v(t,e,r,o){var u=s(e).createRange();if(r>d(e)&&(i.logSelectionStateFailure({anonymizedDom:g(e),extraParams:JSON.stringify({offset:r}),selectionState:JSON.stringify(o.toJS())}),n.handleExtensionCausedError()),u.setStart(e,r),f)try{t.addRange(u)}catch(t){0}else t.addRange(u)}t.exports={setDraftEditorSelection:function(t,e,r,n,i){var o=s(e);if(u(o.documentElement,e)){var a=o.defaultView.getSelection(),c=t.getAnchorKey(),l=t.getAnchorOffset(),f=t.getFocusKey(),p=t.getFocusOffset(),h=t.getIsBackward();if(!a.extend&&h){var g=c,d=l;c=f,l=p,f=g,p=d,h=!1}var m=c===r&&n<=l&&i>=l,_=f===r&&n<=p&&i>=p;if(m&&_)return a.removeAllRanges(),v(a,e,l-n,t),void y(a,e,p-n,t);if(h){if(_&&(a.removeAllRanges(),v(a,e,p-n,t)),m){var S=a.focusNode,b=a.focusOffset;a.removeAllRanges(),v(a,e,l-n,t),y(a,S,b,t)}}else m&&(a.removeAllRanges(),v(a,e,l-n,t)),_&&y(a,e,p-n,t)}},addFocusToSelection:y}},OLzA:function(t,e,r){"use strict";t.exports=function(t){return!(!t||!t.ownerDocument)&&(t.ownerDocument.defaultView?t instanceof t.ownerDocument.defaultView.HTMLElement:t instanceof HTMLElement)}},PFU8:function(t,e,r){"use strict";function n(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){i(t,e,r[e])}))}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r("rJY1"),u=r("2NuI"),a=function(t){if(!t||!t.type)return!1;var e=t.type;return"unordered-list-item"===e||"ordered-list-item"===e},s={fromRawTreeStateToRawState:function(t){var e=t.blocks,r=[];return Array.isArray(e)||u(!1),Array.isArray(e)&&e.length?(function(t,e){for(var r=[].concat(t).reverse();r.length;){var n=r.pop();e(n);var i=n.children;Array.isArray(i)||u(!1),r=r.concat([].concat(i.reverse()))}}(e,(function(t){var e=n({},t);a(t)&&(e.depth=e.depth||0,function(t){Array.isArray(t.children)&&(t.children=t.children.map((function(e){return e.type===t.type?n({},e,{depth:(t.depth||0)+1}):e})))}(t),null!=t.children&&t.children.length>0)||(delete e.children,r.push(e))})),t.blocks=r,n({},t,{blocks:r})):t},fromRawStateToRawTreeState:function(t){var e=[],r=[];return t.blocks.forEach((function(t){var i=a(t),u=t.depth||0,s=n({},t,{children:[]});if(i){var c=r[0];if(null==c&&0===u)e.push(s);else if(null==c||c.depth<u-1){var l={key:o(),text:"",depth:u-1,type:t.type,children:[],entityRanges:[],inlineStyleRanges:[]};r.unshift(l),1===u?e.push(l):null!=c&&c.children.push(l),l.children.push(s)}else if(c.depth===u-1)c.children.push(s);else{for(;null!=c&&c.depth>=u;)r.shift(),c=r[0];u>0?c.children.push(s):e.push(s)}}else e.push(s)})),n({},t,{blocks:e})}};t.exports=s},PQhE:function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var i=r("8uQm"),o=r("JL7T"),u=r("1qq2"),a=r("rJY1"),s=r("xocI"),c=r("cwFY"),l=r("JPcv"),f=r("HriT"),p=l.List,h=l.Repeat,g=c("draft_tree_data_support"),d=g?o:i,y={processHTML:function(t,e){return u(t,s,e)},processText:function(t,e,r){return t.reduce((function(t,i,o){i=f(i);var u=a(),s={key:u,type:r,text:i,characterList:p(h(e,i.length))};if(g&&0!==o){var c=o-1;s=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},i=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),i.forEach((function(e){n(t,e,r[e])}))}return t}({},s,{prevSibling:(t[c]=t[c].merge({nextSibling:u})).getKey()})}return t.push(new d(s)),t}),[])}};t.exports=y},QDEm:function(t,e,r){"use strict";var n=r("MgzW");function i(){return(i=n||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var o=r("Iq8E"),u=r("q1tI"),a=r("fZAc"),s=r("mjHj"),c=function(t){var e,r;function n(){return t.apply(this,arguments)||this}return r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r,n.prototype.render=function(){var t=this.props,e=t.block,r=t.children,n=t.contentState,c=t.decorator,l=t.decoratorKey,f=t.direction,p=t.leafSet,h=t.text,g=e.getKey(),d=p.get("leaves"),y=c.getComponentForKey(l),v=c.getPropsForKey(l),m=o.encode(g,parseInt(l,10),0),_=h.slice(d.first().get("start"),d.last().get("end")),S=s.getHTMLDirIfDifferent(a.getDirection(_),f);return u.createElement(y,i({},v,{contentState:n,decoratedText:_,dir:S,key:m,entityKey:e.getEntityAt(p.get("start")),offsetKey:m}),r)},n}(u.Component);t.exports=c},QfTi:function(t,e,r){"use strict";var n=r("2NuI"),i=/\./,o=/\|\|/,u=/\s+\-\s+/,a=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,s=/^(\d*)(.*)/;function c(t,e){var r=t.split(o);return r.length>1?r.some((function(t){return S.contains(t,e)})):function(t,e){var r=t.split(u);if(r.length>0&&r.length<=2||n(!1),1===r.length)return l(r[0],e);var i=r[0],o=r[1];return d(i)&&d(o)||n(!1),l(">="+i,e)&&l("<="+o,e)}(t=r[0].trim(),e)}function l(t,e){if(""===(t=t.trim()))return!0;var r,n=e.split(i),o=h(t),u=o.modifier,a=o.rangeComponents;switch(u){case"<":return f(n,a);case"<=":return-1===(r=_(n,a))||0===r;case">=":return p(n,a);case">":return function(t,e){return 1===_(t,e)}(n,a);case"~":case"~>":return function(t,e){var r=e.slice(),n=e.slice();n.length>1&&n.pop();var i=n.length-1,o=parseInt(n[i],10);g(o)&&(n[i]=o+1+"");return p(t,r)&&f(t,n)}(n,a);default:return function(t,e){return 0===_(t,e)}(n,a)}}function f(t,e){return-1===_(t,e)}function p(t,e){var r=_(t,e);return 1===r||0===r}function h(t){var e=t.split(i),r=e[0].match(a);return r||n(!1),{modifier:r[1],rangeComponents:[r[2]].concat(e.slice(1))}}function g(t){return!isNaN(t)&&isFinite(t)}function d(t){return!h(t).modifier}function y(t,e){for(var r=t.length;r<e;r++)t[r]="0"}function v(t,e){var r=t.match(s)[1],n=e.match(s)[1],i=parseInt(r,10),o=parseInt(n,10);return g(i)&&g(o)&&i!==o?m(i,o):m(t,e)}function m(t,e){return typeof t!=typeof e&&n(!1),t>e?1:t<e?-1:0}function _(t,e){for(var r=function(t,e){y(t=t.slice(),(e=e.slice()).length);for(var r=0;r<e.length;r++){var n=e[r].match(/^[x*]$/i);if(n&&(e[r]=t[r]="0","*"===n[0]&&r===e.length-1))for(var i=r;i<t.length;i++)t[i]="0"}return y(e,t.length),[t,e]}(t,e),n=r[0],i=r[1],o=0;o<i.length;o++){var u=v(n[o],i[o]);if(u)return u}return 0}var S={contains:function(t,e){return c(t.trim(),e.trim())}};t.exports=S},QvxS:function(t,e,r){"use strict";var n=r("NQV1"),i=r("qy1W"),o=r("ohE5"),u=new RegExp("\r\n","g"),a={"text/rtf":1,"text/html":1};function s(t){if("file"==t.kind)return t.getAsFile()}var c=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.data=e,this.types=e.types?i(e.types):[]}return t.prototype.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(t){return a[t]}))},t.prototype.getText=function(){var t;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(t=this.data.getData("text/plain")):t=this.data.getData("Text")),t?t.replace(u,"\n"):null},t.prototype.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},t.prototype.isLink=function(){return this.types.some((function(t){return-1!=t.indexOf("Url")||-1!=t.indexOf("text/uri-list")||t.indexOf("text/x-moz-url")}))},t.prototype.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):null},t.prototype.isImage=function(){var t=this.types.some((function(t){return-1!=t.indexOf("application/x-moz-file")}));if(t)return!0;for(var e=this.getFiles(),r=0;r<e.length;r++){var i=e[r].type;if(!n.isImage(i))return!1}return!0},t.prototype.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},t.prototype.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(s).filter(o.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.prototype.hasFiles=function(){return this.getFiles().length>0},t}();t.exports=c},RCR6:function(t,e,r){"use strict";var n=r("jLRO"),i=r("JPcv").OrderedSet,o=n.substr,u=i();t.exports=function(t,e){var r=Array(t.length).fill(u);return e&&e.forEach((function(e){for(var n=o(t,0,e.offset).length,i=n+o(t,e.offset,e.length).length;n<i;)r[n]=r[n].add(e.style),n++})),r}},"RK+W":function(t,e,r){"use strict";var n=/\r\n?|\n/g;t.exports=function(t){return t.split(n)}},S5bm:function(t,e,r){"use strict";var n=r("NgHg"),i=r("+aGp");function o(t){return null==t?t:String(t)}t.exports=function(t,e){var r=void 0;if(window.getComputedStyle&&(r=window.getComputedStyle(t,null)))return o(r.getPropertyValue(i(e)));if(document.defaultView&&document.defaultView.getComputedStyle){if(r=document.defaultView.getComputedStyle(t,null))return o(r.getPropertyValue(i(e)));if("display"===e)return"none"}return t.currentStyle?o("float"===e?t.currentStyle.cssFloat||t.currentStyle.styleFloat:t.currentStyle[n(e)]):o(t.style&&t.style[n(e)])}},SF5q:function(t,e,r){"use strict";var n="\\s|(?![_])"+r("evZB").getPunctuation(),i=new RegExp("^(?:"+n+")*(?:"+"['‘’]|(?!"+n+").)*(?:(?!"+n+").)"),o=new RegExp("(?:(?!"+n+").)(?:"+"['‘’]|(?!"+n+").)*(?:"+n+")*$");function u(t,e){var r=e?o.exec(t):i.exec(t);return r?r[0]:t}var a={getBackward:function(t){return u(t,!0)},getForward:function(t){return u(t,!1)}};t.exports=a},SQ0G:function(t,e,r){"use strict";var n=r("94Z+");t.exports=function(t){return n(t)&&3==t.nodeType}},SYhp:function(t,e,r){"use strict";var n=r("3sOJ");t.exports=function(t,e,r){var i=n.undo(e);if("spellcheck-change"!==e.getLastChangeType())t.preventDefault(),e.getNativelyRenderedContent()?(r(n.set(e,{nativelyRenderedContent:null})),setTimeout((function(){r(i)}),0)):r(i);else{var o=i.getCurrentContent();r(n.set(i,{nativelyRenderedContent:o}))}}},T401:function(t,e,r){"use strict";t.exports=function(t){return"handled"===t||!0===t}},TWoB:function(t,e,r){"use strict";var n=r("SQ0G");t.exports=function t(e,r){return!(!e||!r)&&(e===r||!n(e)&&(n(r)?t(e,r.parentNode):"contains"in e?e.contains(r):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(r))))}},Taje:function(t,e,r){"use strict";t.exports=function(t,e,r,n){if(t.size){var i=0;t.reduce((function(t,o,u){return e(t,o)||(r(t)&&n(i,u),i=u),o})),r(t.last())&&n(i,t.count())}}},TlXQ:function(t,e,r){"use strict";var n=r("lFJn"),i=r("JPcv").List;t.exports=function(t,e){var r=t.map((function(t,r){var i=e[r];return n.create({style:t,entity:i})}));return i(r)}},"TzU/":function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var i=r("qnky"),o=r("JPcv"),u=r("2NuI"),a=r("Hpvj"),s=(0,o.Map)(),c=a();function l(t,e){console.warn("WARNING: "+t+' will be deprecated soon!\nPlease use "'+e+'" instead.')}var f={getLastCreatedEntityKey:function(){return l("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),f.__getLastCreatedEntityKey()},create:function(t,e,r){return l("DraftEntity.create","contentState.createEntity"),f.__create(t,e,r)},add:function(t){return l("DraftEntity.add","contentState.addEntity"),f.__add(t)},get:function(t){return l("DraftEntity.get","contentState.getEntity"),f.__get(t)},__getAll:function(){return s},__loadWithEntities:function(t){s=t,c=a()},mergeData:function(t,e){return l("DraftEntity.mergeData","contentState.mergeEntityData"),f.__mergeData(t,e)},replaceData:function(t,e){return l("DraftEntity.replaceData","contentState.replaceEntityData"),f.__replaceData(t,e)},__getLastCreatedEntityKey:function(){return c},__create:function(t,e,r){return f.__add(new i({type:t,mutability:e,data:r||{}}))},__add:function(t){return c=a(),s=s.set(c,t),c},__get:function(t){var e=s.get(t);return e||u(!1),e},__mergeData:function(t,e){var r=f.__get(t),i=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},i=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),i.forEach((function(e){n(t,e,r[e])}))}return t}({},r.getData(),e),o=r.set("data",i);return s=s.set(t,o),o},__replaceData:function(t,e){var r=f.__get(t).set("data",e);return s=s.set(t,r),r}};t.exports=f},U84a:function(t,e,r){"use strict";var n=r("dyxW"),i=r("jLRO").strlen;t.exports=function(t,e){var r=[];return t.findEntityRanges((function(t){return!!t.getEntity()}),(function(o,u){var a=t.getText(),s=t.getEntityAt(o);r.push({offset:i(a.slice(0,o)),length:i(a.slice(o,u)),key:Number(e[n.stringify(s)])})})),r}},UevE:function(t,e,r){"use strict";t.exports=function(t){return Object.keys(t).map((function(e){return t[e]}))}},V8dp:function(t,e,r){"use strict";var n=r("JL7T"),i=r("rJY1"),o=r("JPcv").OrderedMap;t.exports=function(t){return t.first()instanceof n?function(t){var e,r={};return o(t.withMutations((function(t){t.forEach((function(n,o){var u=n.getKey(),a=n.getNextSiblingKey(),s=n.getPrevSiblingKey(),c=n.getChildKeys(),l=n.getParentKey(),f=i();if(r[u]=f,a&&(t.get(a)?t.setIn([a,"prevSibling"],f):t.setIn([u,"nextSibling"],null)),s&&(t.get(s)?t.setIn([s,"nextSibling"],f):t.setIn([u,"prevSibling"],null)),l&&t.get(l)){var p=t.get(l).getChildKeys();t.setIn([l,"children"],p.set(p.indexOf(n.getKey()),f))}else t.setIn([u,"parent"],null),e&&(t.setIn([e.getKey(),"nextSibling"],f),t.setIn([u,"prevSibling"],r[e.getKey()])),e=t.get(u);c.forEach((function(e){t.get(e)?t.setIn([e,"parent"],f):t.setIn([u,"children"],n.getChildKeys().filter((function(t){return t!==e})))}))}))})).toArray().map((function(t){return[r[t.getKey()],t.set("key",r[t.getKey()])]})))}(t):function(t){return o(t.toArray().map((function(t){var e=i();return[e,t.set("key",e)]})))}(t)}},VSmT:function(t,e,r){"use strict";var n,i=r("I8OZ"),o=r("JPcv"),u=r("gWRK"),a=o.OrderedMap,s={getDirectionMap:function(t,e){n?n.reset():n=new i;var r=t.getBlockMap(),s=r.valueSeq().map((function(t){return u(n).getDirection(t.getText())})),c=a(r.keySeq().zip(s));return null!=e&&o.is(e,c)?e:c}};t.exports=s},VTBg:function(t,e,r){"use strict";var n=r("JL7T");t.exports=function(t,e){if(!(t instanceof n))return null;var r=t.getNextSiblingKey();if(r)return r;var i=t.getParentKey();if(!i)return null;for(var o=e.get(i);o&&!o.getNextSiblingKey();){var u=o.getParentKey();o=u?e.get(u):null}return o?o.getNextSiblingKey():null}},WJOU:function(t,e,r){"use strict";var n=r("FcOR"),i=r("3sOJ"),o=r("0IKU"),u=r("Zgb7");t.exports=function(t){if(t._blockSelectEvents||t._latestEditorState!==t.props.editorState){if(t._blockSelectEvents){var e=t.props.editorState.getSelection();n.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(e.toJS())})}}else{var r=t.props.editorState,a=u(r,o(t)),s=a.selectionState;s!==r.getSelection()&&(r=a.needsRecovery?i.forceSelection(r,s):i.acceptSelection(r,s),t.update(r))}}},WLG0:function(t,e,r){"use strict";function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r("q1tI"),u=r("CYTE"),a=r("2NuI"),s=r("GyOf"),c=u.isBrowser("IE <= 11");var l=function(t){var e,r;function u(e){var r;return i(n(r=t.call(this,e)||this),"_forceFlag",void 0),i(n(r),"_node",void 0),r._forceFlag=!1,r}r=t,(e=u).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var l=u.prototype;return l.shouldComponentUpdate=function(t){var e=this._node,r=""===t.children;s(e)||a(!1);var n=e;return r?!function(t){return c?"\n"===t.textContent:"BR"===t.tagName}(n):n.textContent!==t.children},l.componentDidMount=function(){this._forceFlag=!this._forceFlag},l.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},l.render=function(){var t,e=this;return""===this.props.children?this._forceFlag?(t=function(t){return e._node=t},c?o.createElement("span",{key:"A","data-text":"true",ref:t},"\n"):o.createElement("br",{key:"A","data-text":"true",ref:t})):function(t){return c?o.createElement("span",{key:"B","data-text":"true",ref:t},"\n"):o.createElement("br",{key:"B","data-text":"true",ref:t})}((function(t){return e._node=t})):o.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(t){return e._node=t}},this.props.children)},u}(o.Component);t.exports=l},WaGC:function(t,e,r){"use strict";t.exports=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:window}},Wkzk:function(t,e,r){"use strict";var n=r("fyOY"),i=r("3sOJ"),o=r("DYKh"),u=r("gWRK"),a=null,s={cut:function(t){var e=t.getCurrentContent(),r=t.getSelection(),s=null;if(r.isCollapsed()){var c=r.getAnchorKey(),l=e.getBlockForKey(c).getLength();if(l===r.getAnchorOffset()){var f=e.getKeyAfter(c);if(null==f)return t;s=r.set("focusKey",f).set("focusOffset",0)}else s=r.set("focusOffset",l)}else s=r;s=u(s),a=o(e,s);var p=n.removeRange(e,s,"forward");return p===e?t:i.push(t,p,"remove-range")},paste:function(t){if(!a)return t;var e=n.replaceWithFragment(t.getCurrentContent(),t.getSelection(),a);return i.push(t,e,"insert-fragment")}};t.exports=s},"Y/kH":function(t,e,r){"use strict";t.exports=function(t){t._internalDrag=!0,t.setMode("drag")}},Y3PQ:function(t,e,r){"use strict";var n=r("MgzW");function i(){return(i=n||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){u(t,e,r[e])}))}return t}function u(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var a=r("DthY"),s=r("Iq8E"),c=r("q1tI"),l=r("YVIB"),f=r("faBS"),p=r("gWRK"),h=function(t,e,r,n){return l({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===t,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===t,"public/DraftStyleDefault/reset":r,"public/DraftStyleDefault/depth0":0===e,"public/DraftStyleDefault/depth1":1===e,"public/DraftStyleDefault/depth2":2===e,"public/DraftStyleDefault/depth3":3===e,"public/DraftStyleDefault/depth4":e>=4,"public/DraftStyleDefault/listLTR":"LTR"===n,"public/DraftStyleDefault/listRTL":"RTL"===n})},g=function(t){var e,r;function n(){return t.apply(this,arguments)||this}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var u=n.prototype;return u.shouldComponentUpdate=function(t){var e=this.props.editorState,r=t.editorState;if(e.getDirectionMap()!==r.getDirectionMap())return!0;if(e.getSelection().getHasFocus()!==r.getSelection().getHasFocus())return!0;var n=r.getNativelyRenderedContent(),i=e.isInCompositionMode(),o=r.isInCompositionMode();if(e===r||null!==n&&r.getCurrentContent()===n||i&&o)return!1;var u=e.getCurrentContent(),a=r.getCurrentContent(),s=e.getDecorator(),c=r.getDecorator();return i!==o||u!==a||s!==c||r.mustForceSelection()},u.render=function(){for(var t=this.props,e=t.blockRenderMap,r=t.blockRendererFn,n=t.blockStyleFn,u=t.customStyleMap,l=t.customStyleFn,g=t.editorState,d=t.editorKey,y=t.preventScroll,v=t.textDirectionality,m=g.getCurrentContent(),_=g.getSelection(),S=g.mustForceSelection(),b=g.getDecorator(),w=p(g.getDirectionMap()),k=m.getBlocksAsArray(),x=[],C=null,E=null,O=0;O<k.length;O++){var D=k[O],K=D.getKey(),T=D.getType(),M=r(D),I=void 0,A=void 0,B=void 0;M&&(I=M.component,A=M.props,B=M.editable);var L=v||w.get(K),R=s.encode(K,0,0),F={contentState:m,block:D,blockProps:A,blockStyleFn:n,customStyleMap:u,customStyleFn:l,decorator:b,direction:L,forceSelection:S,offsetKey:R,preventScroll:y,selection:_,tree:g.getBlockTree(K)},N=e.get(T)||e.get("unstyled"),P=N.wrapper,j=N.element||e.get("unstyled").element,z=D.getDepth(),U="";if(n&&(U=n(D)),"li"===j)U=f(U,h(T,z,E!==P||null===C||z>C,L));var J=I||a,q={className:U,"data-block":!0,"data-editor":d,"data-offset-key":R,key:K};void 0!==B&&(q=o({},q,{contentEditable:B,suppressContentEditableWarning:!0}));var W=c.createElement(j,q,c.createElement(J,i({},F,{key:K})));x.push({block:W,wrapperTemplate:P,key:K,offsetKey:R}),C=P?D.getDepth():null,E=P}for(var H=[],Y=0;Y<x.length;){var V=x[Y];if(V.wrapperTemplate){var G=[];do{G.push(x[Y].block),Y++}while(Y<x.length&&x[Y].wrapperTemplate===V.wrapperTemplate);var Q=c.cloneElement(V.wrapperTemplate,{key:V.key+"-wrap","data-offset-key":V.offsetKey},G);H.push(Q)}else H.push(V.block),Y++}return c.createElement("div",{"data-contents":"true"},H)},n}(c.Component);t.exports=g},YBdB:function(t,e,r){(function(t,e){!function(t,r){"use strict";if(!t.setImmediate){var n,i,o,u,a,s=1,c={},l=!1,f=t.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(t);p=p&&p.setTimeout?p:t,"[object process]"==={}.toString.call(t.process)?n=function(t){e.nextTick((function(){g(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,r=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=r,e}}()?t.MessageChannel?((o=new MessageChannel).port1.onmessage=function(t){g(t.data)},n=function(t){o.port2.postMessage(t)}):f&&"onreadystatechange"in f.createElement("script")?(i=f.documentElement,n=function(t){var e=f.createElement("script");e.onreadystatechange=function(){g(t),e.onreadystatechange=null,i.removeChild(e),e=null},i.appendChild(e)}):n=function(t){setTimeout(g,0,t)}:(u="setImmediate$"+Math.random()+"$",a=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(u)&&g(+e.data.slice(u.length))},t.addEventListener?t.addEventListener("message",a,!1):t.attachEvent("onmessage",a),n=function(e){t.postMessage(u+e,"*")}),p.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),r=0;r<e.length;r++)e[r]=arguments[r+1];var i={callback:t,args:e};return c[s]=i,n(s),s++},p.clearImmediate=h}function h(t){delete c[t]}function g(t){if(l)setTimeout(g,0,t);else{var e=c[t];if(e){l=!0;try{!function(t){var e=t.callback,r=t.args;switch(r.length){case 0:e();break;case 1:e(r[0]);break;case 2:e(r[0],r[1]);break;case 3:e(r[0],r[1],r[2]);break;default:e.apply(void 0,r)}}(e)}finally{h(t),l=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,r("yLpj"),r("8oxB"))},YDMw:function(t,e,r){"use strict";var n=r("hyAj");t.exports=function(t,e){t._latestEditorState.getSelection().isCollapsed()?e.preventDefault():t.setClipboard(n(t._latestEditorState))}},YUem:function(t,e,r){"use strict";var n=r("SF5q"),i=r("3sOJ"),o=r("DEWG"),u=r("8d//");t.exports=function(t){var e=u(t,(function(t){var e=t.getSelection(),r=e.getStartOffset(),i=e.getStartKey(),u=t.getCurrentContent().getBlockForKey(i).getText().slice(r),a=n.getForward(u);return o(t,a.length||1)}),"forward");return e===t.getCurrentContent()?t:i.push(t,e,"remove-range")}},YVIB:function(t,e,r){"use strict";function n(t){return t.replace(/\//g,"-")}t.exports=function(t){return"object"==typeof t?Object.keys(t).filter((function(e){return t[e]})).map(n).join(" "):Array.prototype.map.call(arguments,n).join(" ")}},YeVe:function(t,e,r){"use strict";var n=r("JPcv").OrderedMap,i={createFromArray:function(t){return n(t.map((function(t){return[t.getKey(),t]})))}};t.exports=i},YrFj:function(t,e,r){"use strict";var n=r("MgzW");function i(){return(i=n||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var o=r("C8qk"),u=r("Iq8E"),a=r("q1tI"),s=r("gWRK"),c=function(t){var e,r;function n(){return t.apply(this,arguments)||this}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var c=n.prototype;return c.shouldComponentUpdate=function(t){var e=this.props.editorState,r=t.editorState;if(e.getDirectionMap()!==r.getDirectionMap())return!0;if(e.getSelection().getHasFocus()!==r.getSelection().getHasFocus())return!0;var n=r.getNativelyRenderedContent(),i=e.isInCompositionMode(),o=r.isInCompositionMode();if(e===r||null!==n&&r.getCurrentContent()===n||i&&o)return!1;var u=e.getCurrentContent(),a=r.getCurrentContent(),s=e.getDecorator(),c=r.getDecorator();return i!==o||u!==a||s!==c||r.mustForceSelection()},c.render=function(){for(var t=this.props,e=t.blockRenderMap,r=t.blockRendererFn,n=t.blockStyleFn,c=t.customStyleMap,l=t.customStyleFn,f=t.editorState,p=t.editorKey,h=t.textDirectionality,g=f.getCurrentContent(),d=f.getSelection(),y=f.mustForceSelection(),v=f.getDecorator(),m=s(f.getDirectionMap()),_=[],S=g.getBlocksAsArray()[0];S;){var b=S.getKey(),w={blockRenderMap:e,blockRendererFn:r,blockStyleFn:n,contentState:g,customStyleFn:l,customStyleMap:c,decorator:v,editorKey:p,editorState:f,forceSelection:y,selection:d,block:S,direction:h||m.get(b),tree:f.getBlockTree(b)},k=(e.get(S.getType())||e.get("unstyled")).wrapper;_.push({block:a.createElement(o,i({key:b},w)),wrapperTemplate:k,key:b,offsetKey:u.encode(b,0,0)});var x=S.getNextSiblingKey();S=x?g.getBlockForKey(x):null}for(var C=[],E=0;E<_.length;){var O=_[E];if(O.wrapperTemplate){var D=[];do{D.push(_[E].block),E++}while(E<_.length&&_[E].wrapperTemplate===O.wrapperTemplate);var K=a.cloneElement(O.wrapperTemplate,{key:O.key+"-wrap","data-offset-key":O.offsetKey},D);C.push(K)}else C.push(O.block),E++}return a.createElement("div",{"data-contents":"true"},C)},n}(a.Component);t.exports=c},Yrnb:function(t,e,r){"use strict";t.exports=function(t){var e=t.getSelection(),r=e.getAnchorKey(),n=t.getBlockTree(r),i=e.getStartOffset(),o=!1;return n.some((function(t){return i===t.get("start")?(o=!0,!0):i<t.get("end")&&t.get("leaves").some((function(t){var e=t.get("start");return i===e&&(o=!0,!0)}))})),o}},Z9sL:function(t,e,r){"use strict";var n=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._uri=e}return t.prototype.toString=function(){return this._uri},t}();t.exports=n},"Zf/v":function(t,e,r){"use strict";t.exports=function(t,e,r){var n=t;if(r===n.count())e.forEach((function(t){n=n.push(t)}));else if(0===r)e.reverse().forEach((function(t){n=n.unshift(t)}));else{var i=n.slice(0,r),o=n.slice(r);n=i.concat(e,o).toList()}return n}},Zgb7:function(t,e,r){"use strict";var n=r("ISee");t.exports=function(t,e){var r=e.ownerDocument.defaultView.getSelection(),i=r.anchorNode,o=r.anchorOffset,u=r.focusNode,a=r.focusOffset;return 0===r.rangeCount||null==i||null==u?{selectionState:t.getSelection().set("hasFocus",!1),needsRecovery:!1}:n(t,e,i,o,u,a)}},Zsd2:function(t,e,r){var n=r("zoYe"),i=r("jXQH"),o=r("wy8a"),u=r("LPhD"),a=r("t4mE"),s=r("Em2t"),c=r("dt0z");t.exports=function(t,e,r){if((t=c(t))&&(r||void 0===e))return i(t);if(!t||!(e=n(e)))return t;var l=s(t),f=s(e),p=a(l,f),h=u(l,f)+1;return o(l,p,h).join("")}},aB02:function(t,e,r){"use strict";var n=r("GyOf");t.exports=function(t){return!(!t||!t.ownerDocument)&&(n(t)&&"BR"===t.nodeName)}},bNdj:function(t,e,r){"use strict";var n=r("jLRO").substr;t.exports=function(t,e){var r=Array(t.length).fill(null);return e&&e.forEach((function(e){for(var i=n(t,0,e.offset).length,o=i+n(t,e.offset,e.length).length,u=i;u<o;u++)r[u]=e.key})),r}},bd9B:function(t,e,r){"use strict";var n=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){if(!t)return null;var i={};for(var o in t)n.call(t,o)&&(i[o]=e.call(r,t[o],o,t));return i}},bu5B:function(t,e,r){"use strict";var n=r("lFJn"),i=r("Taje"),o=r("2NuI");function u(t,e,r){var u=e.getCharacterList(),a=r>0?u.get(r-1):void 0,s=r<u.count()?u.get(r):void 0,c=a?a.getEntity():void 0,l=s?s.getEntity():void 0;if(l&&l===c&&"MUTABLE"!==t.__get(l).getMutability()){for(var f,p=function(t,e,r){var n;return i(t,(function(t,e){return t.getEntity()===e.getEntity()}),(function(t){return t.getEntity()===e}),(function(t,e){t<=r&&e>=r&&(n={start:t,end:e})})),"object"!=typeof n&&o(!1),n}(u,l,r),h=p.start,g=p.end;h<g;)f=u.get(h),u=u.set(h,n.applyEntity(f,null)),h++;return e.set("characterList",u)}return e}t.exports=function(t,e){var r=t.getBlockMap(),n=t.getEntityMap(),i={},o=e.getStartKey(),a=e.getStartOffset(),s=r.get(o),c=u(n,s,a);c!==s&&(i[o]=c);var l=e.getEndKey(),f=e.getEndOffset(),p=r.get(l);o===l&&(p=c);var h=u(n,p,f);return h!==p&&(i[l]=h),Object.keys(i).length?t.merge({blockMap:r.merge(i),selectionAfter:e}):t.set("selectionAfter",e)}},c203:function(t,e,r){"use strict";var n=r("/y0H"),i=r("fMZg"),o=r("2NuI");function u(t,e,r,u,a,s,c){var l=r.getStartOffset(),f=r.getEndOffset(),p=t.__get(a).getMutability(),h=c?l:f;if("MUTABLE"===p)return r;var g=i(e,a).filter((function(t){return h<=t.end&&h>=t.start}));1!=g.length&&o(!1);var d=g[0];if("IMMUTABLE"===p)return r.merge({anchorOffset:d.start,focusOffset:d.end,isBackward:!1});s||(c?f=d.end:l=d.start);var y=n.getRemovalRange(l,f,e.getText().slice(d.start,d.end),d.start,u);return r.merge({anchorOffset:y.start,focusOffset:y.end,isBackward:!1})}t.exports=function(t,e,r,n,i){var o=n.getStartOffset(),a=n.getEndOffset(),s=e.getEntityAt(o),c=r.getEntityAt(a-1);if(!s&&!c)return n;var l=n;if(s&&s===c)l=u(t,e,l,i,s,!0,!0);else if(s&&c){var f=u(t,e,l,i,s,!1,!0),p=u(t,r,l,i,c,!1,!1);l=l.merge({anchorOffset:f.getAnchorOffset(),focusOffset:p.getFocusOffset(),isBackward:!1})}else if(s){var h=u(t,e,l,i,s,!1,!0);l=l.merge({anchorOffset:h.getStartOffset(),isBackward:!1})}else if(c){var g=u(t,r,l,i,c,!1,!1);l=l.merge({focusOffset:g.getEndOffset(),isBackward:!1})}return l}},cmQj:function(t,e,r){"use strict";t.exports=function(t,e){t.setMode("drag"),e.preventDefault()}},cwFY:function(t,e,r){"use strict";t.exports=function(t){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[t]}},dyxW:function(t,e,r){"use strict";var n={stringify:function(t){return"_"+String(t)},unstringify:function(t){return t.slice(1)}};t.exports=n},"e/Ok":function(t,e,r){"use strict";var n=r("fyOY"),i=r("3sOJ"),o=r("6Xrj"),u=r("hyAj"),a=r("DeIs"),s=r("MbRH");t.exports=function(t,e){var r,c=t._latestEditorState,l=c.getSelection(),f=e.target;if(l.isCollapsed())e.preventDefault();else{if(s(f)){var p=f;r=a(o.getScrollParent(p))}var h=u(c);t.setClipboard(h),t.setMode("cut"),setTimeout((function(){t.restoreEditorDOM(r),t.exitCurrentMode(),t.update(function(t){var e=n.removeRange(t.getCurrentContent(),t.getSelection(),"forward");return i.push(t,e,"remove-range")}(c))}),0)}}},eOzY:function(t,e,r){"use strict";(function(e){r("YBdB"),t.exports=e.setImmediate}).call(this,r("yLpj"))},evZB:function(t,e,r){"use strict";t.exports={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟：-？！-／［-｀｛-･⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}},fEyW:function(t,e,r){"use strict";var n=r("JL7T"),i=r("VTBg"),o=r("JPcv"),u=(o.List,o.Map),a=function(t,e,r){if(t){var n=e.get(t);n&&e.set(t,r(n))}},s=function(t,e){var r=[];if(!t)return r;for(var n=e.get(t);n&&n.getParentKey();){var i=n.getParentKey();i&&r.push(i),n=i?e.get(i):null}return r},c=function(t,e,r){if(!t)return null;for(var n=r.get(t.getKey()).getNextSiblingKey();n&&!e.get(n);)n=r.get(n).getNextSiblingKey()||null;return n},l=function(t,e,r){if(!t)return null;for(var n=r.get(t.getKey()).getPrevSiblingKey();n&&!e.get(n);)n=r.get(n).getPrevSiblingKey()||null;return n},f=function(t,e,r,n){return t.withMutations((function(o){if(a(e.getKey(),o,(function(t){return t.merge({nextSibling:c(t,o,n),prevSibling:l(t,o,n)})})),a(r.getKey(),o,(function(t){return t.merge({nextSibling:c(t,o,n),prevSibling:l(t,o,n)})})),s(e.getKey(),n).forEach((function(t){return a(t,o,(function(t){return t.merge({children:t.getChildKeys().filter((function(t){return o.get(t)})),nextSibling:c(t,o,n),prevSibling:l(t,o,n)})}))})),a(e.getNextSiblingKey(),o,(function(t){return t.merge({prevSibling:e.getPrevSiblingKey()})})),a(e.getPrevSiblingKey(),o,(function(t){return t.merge({nextSibling:c(t,o,n)})})),a(r.getNextSiblingKey(),o,(function(t){return t.merge({prevSibling:l(t,o,n)})})),a(r.getPrevSiblingKey(),o,(function(t){return t.merge({nextSibling:r.getNextSiblingKey()})})),s(r.getKey(),n).forEach((function(t){a(t,o,(function(t){return t.merge({children:t.getChildKeys().filter((function(t){return o.get(t)})),nextSibling:c(t,o,n),prevSibling:l(t,o,n)})}))})),function(t,e){var r=[];if(!t)return r;for(var n=i(t,e);n&&e.get(n);){var o=e.get(n);r.push(n),n=o.getParentKey()?i(o,e):null}return r}(r,n).forEach((function(t){return a(t,o,(function(t){return t.merge({nextSibling:c(t,o,n),prevSibling:l(t,o,n)})}))})),null==t.get(e.getKey())&&null!=t.get(r.getKey())&&r.getParentKey()===e.getKey()&&null==r.getPrevSiblingKey()){var u=e.getPrevSiblingKey();a(r.getKey(),o,(function(t){return t.merge({prevSibling:u})})),a(u,o,(function(t){return t.merge({nextSibling:r.getKey()})}));var f=u?t.get(u):null,p=f?f.getParentKey():null;if(e.getChildKeys().forEach((function(t){a(t,o,(function(t){return t.merge({parent:p})}))})),null!=p){var h=t.get(p);a(p,o,(function(t){return t.merge({children:h.getChildKeys().concat(e.getChildKeys())})}))}a(e.getChildKeys().find((function(e){return null===t.get(e).getNextSiblingKey()})),o,(function(t){return t.merge({nextSibling:e.getNextSiblingKey()})}))}}))},p=function(t,e,r){if(0===e)for(;e<r;)t=t.shift(),e++;else if(r===t.count())for(;r>e;)t=t.pop(),r--;else{var n=t.slice(0,e),i=t.slice(r);t=n.concat(i).toList()}return t};t.exports=function(t,e){if(e.isCollapsed())return t;var r,o=t.getBlockMap(),a=e.getStartKey(),c=e.getStartOffset(),l=e.getEndKey(),h=e.getEndOffset(),g=o.get(a),d=o.get(l),y=g instanceof n,v=[];if(y){var m=d.getChildKeys(),_=s(l,o);d.getNextSiblingKey()&&(v=v.concat(_)),m.isEmpty()||(v=v.concat(_.concat([l]))),v=v.concat(s(i(d,o),o))}r=g===d?p(g.getCharacterList(),c,h):g.getCharacterList().slice(0,c).concat(d.getCharacterList().slice(h));var S=g.merge({text:g.getText().slice(0,c)+d.getText().slice(h),characterList:r}),b=y&&0===c&&0===h&&d.getParentKey()===a&&null==d.getPrevSiblingKey()?u([[a,null]]):o.toSeq().skipUntil((function(t,e){return e===a})).takeUntil((function(t,e){return e===l})).filter((function(t,e){return-1===v.indexOf(e)})).concat(u([[l,null]])).map((function(t,e){return e===a?S:null})),w=o.merge(b).filter((function(t){return!!t}));return y&&g!==d&&(w=f(w,g,d,o)),t.merge({blockMap:w,selectionBefore:e,selectionAfter:e.merge({anchorKey:a,anchorOffset:c,focusKey:a,focusOffset:c,isBackward:!1})})}},fMZg:function(t,e,r){"use strict";var n=r("2NuI");t.exports=function(t,e){var r=[];return t.findEntityRanges((function(t){return t.getEntity()===e}),(function(t,e){r.push({start:t,end:e})})),r.length||n(!1),r}},fZAc:function(t,e,r){"use strict";var n=r("mjHj"),i=r("2NuI"),o="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",u="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",a=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃǄ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ﬀ-ﬆﬓ-ﬗＡ-Ｚａ-ｚｦ-ｯｰｱ-ﾝﾞ-ﾟﾠ-ﾾￂ-ￇￊ-ￏￒ-ￗￚ-ￜ"+o+u+"]"),s=new RegExp("["+o+u+"]");function c(t){var e=a.exec(t);return null==e?null:e[0]}function l(t){var e=c(t);return null==e?n.NEUTRAL:s.exec(e)?n.RTL:n.LTR}function f(t,e){if(e=e||n.NEUTRAL,!t.length)return e;var r=l(t);return r===n.NEUTRAL?e:r}function p(t,e){return e||(e=n.getGlobalDir()),n.isStrong(e)||i(!1),f(t,e)}var h={firstStrongChar:c,firstStrongCharDir:l,resolveBlockDir:f,getDirection:p,isDirectionLTR:function(t,e){return p(t,e)===n.LTR},isDirectionRTL:function(t,e){return p(t,e)===n.RTL}};t.exports=h},faBS:function(t,e,r){"use strict";t.exports=function(t){t||(t="");var e=void 0,r=arguments.length;if(r>1)for(var n=1;n<r;n++)(e=arguments[n])&&(t=(t?t+" ":"")+e);return t}},fyOY:function(t,e,r){"use strict";var n=r("lFJn"),i=r("M6rc"),o=r("ilWa"),u=r("c203"),a=r("DYKh"),s=r("JPcv"),c=r("L2EA"),l=r("81KI"),f=r("2NuI"),p=r("Mh8y"),h=r("bu5B"),g=r("fEyW"),d=r("B0ab"),y=s.OrderedSet,v={replaceText:function(t,e,r,i,o){var u=h(t,e),a=g(u,e),s=n.create({style:i||y(),entity:o||null});return l(a,a.getSelectionAfter(),r,s)},insertText:function(t,e,r,n,i){return e.isCollapsed()||f(!1),v.replaceText(t,e,r,n,i)},moveText:function(t,e,r){var n=a(t,e),i=v.removeRange(t,e,"backward");return v.replaceWithFragment(i,r,n)},replaceWithFragment:function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",i=h(t,e),o=g(i,e);return c(o,o.getSelectionAfter(),r,n)},removeRange:function(t,e,r){var n,i,o,a;e.getIsBackward()&&(e=e.merge({anchorKey:e.getFocusKey(),anchorOffset:e.getFocusOffset(),focusKey:e.getAnchorKey(),focusOffset:e.getAnchorOffset(),isBackward:!1})),n=e.getAnchorKey(),i=e.getFocusKey(),o=t.getBlockForKey(n),a=t.getBlockForKey(i);var s=e.getStartOffset(),c=e.getEndOffset(),l=o.getEntityAt(s),f=a.getEntityAt(c-1);if(n===i&&l&&l===f){var p=u(t.getEntityMap(),o,a,e,r);return g(t,p)}var d=h(t,e);return g(d,e)},splitBlock:function(t,e){var r=h(t,e),n=g(r,e);return d(n,n.getSelectionAfter())},applyInlineStyle:function(t,e,r){return i.add(t,e,r)},removeInlineStyle:function(t,e,r){return i.remove(t,e,r)},setBlockType:function(t,e,r){return p(t,e,(function(t){return t.merge({type:r,depth:0})}))},setBlockData:function(t,e,r){return p(t,e,(function(t){return t.merge({data:r})}))},mergeBlockData:function(t,e,r){return p(t,e,(function(t){return t.merge({data:t.getData().merge(r)})}))},applyEntity:function(t,e,r){var n=h(t,e);return o(n,e,r)}};t.exports=v},fyRy:function(t,e,r){"use strict";function n(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){i(t,e,r[e])}))}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r("YeVe"),u=r("lFJn"),a=r("8uQm"),s=r("JL7T"),c=r("fyOY"),l=r("3sOJ"),f=r("rJY1"),p=r("cwFY"),h=r("JPcv"),g=r("I2Ug"),d=p("draft_tree_data_support"),y=d?s:a,v=h.List,m=h.Repeat,_={insertAtomicBlock:function(t,e,r){var i=t.getCurrentContent(),a=t.getSelection(),s=c.removeRange(i,a,"backward"),p=s.getSelectionAfter(),h=c.splitBlock(s,p),g=h.getSelectionAfter(),_=c.setBlockType(h,g,"atomic"),S=u.create({entity:e}),b={key:f(),type:"atomic",text:r,characterList:v(m(S,r.length))},w={key:f(),type:"unstyled"};d&&(b=n({},b,{nextSibling:w.key}),w=n({},w,{prevSibling:b.key}));var k=[new y(b),new y(w)],x=o.createFromArray(k),C=c.replaceWithFragment(_,g,x),E=C.merge({selectionBefore:a,selectionAfter:C.getSelectionAfter().set("hasFocus",!0)});return l.push(t,E,"insert-fragment")},moveAtomicBlock:function(t,e,r,n){var i,o=t.getCurrentContent(),u=t.getSelection();if("before"===n||"after"===n){var a=o.getBlockForKey("before"===n?r.getStartKey():r.getEndKey());i=g(o,e,a,n)}else{var s=c.removeRange(o,r,"backward"),f=s.getSelectionAfter(),p=s.getBlockForKey(f.getFocusKey());if(0===f.getStartOffset())i=g(s,e,p,"before");else if(f.getEndOffset()===p.getLength())i=g(s,e,p,"after");else{var h=c.splitBlock(s,f),d=h.getSelectionAfter(),y=h.getBlockForKey(d.getFocusKey());i=g(h,e,y,"before")}}var v=i.merge({selectionBefore:u,selectionAfter:i.getSelectionAfter().set("hasFocus",!0)});return l.push(t,v,"move-block")}};t.exports=_},gWRK:function(t,e,r){"use strict";t.exports=function(t){if(null!=t)return t;throw new Error("Got unexpected null or undefined")}},"h/2P":function(t,e,r){"use strict";var n=r("fyOY"),i=r("3sOJ"),o=r("CYTE"),u=r("hpMJ"),a=r("T401"),s=r("Yrnb"),c=r("gWRK"),l=r("eOzY"),f=o.isBrowser("Firefox");function p(t,e,r,o,u){var a=n.replaceText(t.getCurrentContent(),t.getSelection(),e,r,o);return i.push(t,a,"insert-characters",u)}t.exports=function(t,e){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var r=t._latestEditorState,n=e.data;if(n)if(t.props.handleBeforeInput&&a(t.props.handleBeforeInput(n,r,e.timeStamp)))e.preventDefault();else{var o=r.getSelection(),h=o.getStartOffset(),g=o.getAnchorKey();if(!o.isCollapsed())return e.preventDefault(),void t.update(p(r,n,r.getCurrentInlineStyle(),u(r.getCurrentContent(),r.getSelection()),!0));var d,y=p(r,n,r.getCurrentInlineStyle(),u(r.getCurrentContent(),r.getSelection()),!1),v=!1;if(v||(v=s(t._latestCommittedEditorState)),!v){var m=r.getBlockTree(g),_=y.getBlockTree(g);v=m.size!==_.size||m.zip(_).some((function(t){var e=t[0],r=t[1],i=e.get("start"),o=i+(i>=h?n.length:0),u=e.get("end"),a=u+(u>=h?n.length:0),s=r.get("start"),c=r.get("end"),l=r.get("decoratorKey");return e.get("decoratorKey")!==l||e.get("leaves").size!==r.get("leaves").size||o!==s||a!==c||null!=l&&c-s!=u-i}))}if(v||(d=n,v=f&&("'"==d||"/"==d)),v||(v=c(y.getDirectionMap()).get(g)!==c(r.getDirectionMap()).get(g)),v)return e.preventDefault(),y=i.set(y,{forceSelection:!0}),void t.update(y);y=i.set(y,{nativelyRenderedContent:y.getCurrentContent()}),t._pendingStateFromBeforeInput=y,l((function(){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0)}))}}},hMpd:function(t,e,r){"use strict";var n=function(t){var e,r;function n(){return t.apply(this,arguments)||this}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var i=n.prototype;return i.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},i.getAnchorKey=function(){return this.get("anchorKey")},i.getAnchorOffset=function(){return this.get("anchorOffset")},i.getFocusKey=function(){return this.get("focusKey")},i.getFocusOffset=function(){return this.get("focusOffset")},i.getIsBackward=function(){return this.get("isBackward")},i.getHasFocus=function(){return this.get("hasFocus")},i.hasEdgeWithin=function(t,e,r){var n=this.getAnchorKey(),i=this.getFocusKey();if(n===i&&n===t){var o=this.getStartOffset(),u=this.getEndOffset();return e<=o&&o<=r||e<=u&&u<=r}if(t!==n&&t!==i)return!1;var a=t===n?this.getAnchorOffset():this.getFocusOffset();return e<=a&&r>=a},i.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},i.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},i.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},i.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},i.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},n.createEmpty=function(t){return new n({anchorKey:t,anchorOffset:0,focusKey:t,focusOffset:0,isBackward:!1,hasFocus:!1})},n}((0,r("JPcv").Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1}));t.exports=n},hpMJ:function(t,e,r){"use strict";var n=r("Gn5D").notEmptyKey;function i(t,e){return n(e)&&"MUTABLE"===t.__get(e).getMutability()?e:null}t.exports=function(t,e){var r;if(e.isCollapsed()){var n=e.getAnchorKey(),o=e.getAnchorOffset();return o>0?(r=t.getBlockForKey(n).getEntityAt(o-1))!==t.getBlockForKey(n).getEntityAt(o)?null:i(t.getEntityMap(),r):null}var u=e.getStartKey(),a=e.getStartOffset(),s=t.getBlockForKey(u);return r=a===s.getLength()?null:s.getEntityAt(a),i(t.getEntityMap(),r)}},hyAj:function(t,e,r){"use strict";var n=r("DYKh");t.exports=function(t){var e=t.getSelection();return e.isCollapsed()?null:n(t.getCurrentContent(),e)}},iatg:function(t,e,r){"use strict";var n=r("TWoB");t.exports=function(t){var e=t.ownerDocument.documentElement;if(!("getBoundingClientRect"in t)||!n(e,t))return{left:0,right:0,top:0,bottom:0};var r=t.getBoundingClientRect();return{left:Math.round(r.left)-e.clientLeft,right:Math.round(r.right)-e.clientLeft,top:Math.round(r.top)-e.clientTop,bottom:Math.round(r.bottom)-e.clientTop}}},ilWa:function(t,e,r){"use strict";var n=r("vYwu"),i=r("JPcv");t.exports=function(t,e,r){var o=t.getBlockMap(),u=e.getStartKey(),a=e.getStartOffset(),s=e.getEndKey(),c=e.getEndOffset(),l=o.skipUntil((function(t,e){return e===u})).takeUntil((function(t,e){return e===s})).toOrderedMap().merge(i.OrderedMap([[s,o.get(s)]])).map((function(t,e){var i=e===u?a:0,o=e===s?c:t.getLength();return n(t,i,o,r)}));return t.merge({blockMap:o.merge(l),selectionBefore:e,selectionAfter:e})}},jH4x:function(t,e,r){"use strict";var n=r("3sOJ");t.exports=function(t,e){t.setMode("composite"),t.update(n.set(t._latestEditorState,{inCompositionMode:!0})),t._onCompositionStart(e)}},jLRO:function(t,e,r){"use strict";var n=r("2NuI"),i=/[\uD800-\uDFFF]/;function o(t){return 55296<=t&&t<=57343}function u(t){return i.test(t)}function a(t,e){return 1+o(t.charCodeAt(e))}function s(t,e,r){if(e=e||0,r=void 0===r?1/0:r||0,!u(t))return t.substr(e,r);var n=t.length;if(n<=0||e>n||r<=0)return"";var i=0;if(e>0){for(;e>0&&i<n;e--)i+=a(t,i);if(i>=n)return""}else if(e<0){for(i=n;e<0&&0<i;e++)i-=a(t,i-1);i<0&&(i=0)}var o=n;if(r<n)for(o=i;r>0&&o<n;r--)o+=a(t,o);return t.substring(i,o)}var c={getCodePoints:function(t){for(var e=[],r=0;r<t.length;r+=a(t,r))e.push(t.codePointAt(r));return e},getUTF16Length:a,hasSurrogateUnit:u,isCodeUnitInSurrogateRange:o,isSurrogatePair:function(t,e){if(0<=e&&e<t.length||n(!1),e+1===t.length)return!1;var r=t.charCodeAt(e),i=t.charCodeAt(e+1);return 55296<=r&&r<=56319&&56320<=i&&i<=57343},strlen:function(t){if(!u(t))return t.length;for(var e=0,r=0;r<t.length;r+=a(t,r))e++;return e},substring:function(t,e,r){(e=e||0)<0&&(e=0),(r=void 0===r?1/0:r||0)<0&&(r=0);var n=Math.abs(r-e);return s(t,e=e<r?e:r,n)},substr:s};t.exports=c},jl1W:function(t,e,r){"use strict";var n=r("4XrY"),i=r("fyOY"),o=r("Iq8E"),u=r("3sOJ"),a=r("7wDu"),s=r("CYTE"),c=r("WJOU"),l=r("0IKU"),f=r("Zgb7"),p=r("hpMJ"),h=r("gWRK"),g=s.isBrowser("IE"),d=!1,y=!1,v=null;var m={onCompositionStart:function(t){y=!0,function(t){v||(v=new n(l(t))).start()}(t)},onCompositionEnd:function(t){d=!1,y=!1,setTimeout((function(){d||m.resolveComposition(t)}),20)},onSelect:c,onKeyDown:function(t,e){if(!y)return m.resolveComposition(t),void t._onKeyDown(e);e.which!==a.RIGHT&&e.which!==a.LEFT||e.preventDefault()},onKeyPress:function(t,e){e.which===a.RETURN&&e.preventDefault()},resolveComposition:function(t){if(!y){var e=h(v).stopAndFlushMutations();v=null,d=!0;var r=u.set(t._latestEditorState,{inCompositionMode:!1});if(t.exitCurrentMode(),e.size){var n=r.getCurrentContent();e.forEach((function(t,e){var a=o.decode(e),s=a.blockKey,c=a.decoratorKey,l=a.leafKey,f=r.getBlockTree(s).getIn([c,"leaves",l]),h=f.start,g=f.end,d=r.getSelection().merge({anchorKey:s,focusKey:s,anchorOffset:h,focusOffset:g,isBackward:!1}),y=p(n,d),v=n.getBlockForKey(s).getInlineStyleAt(h);n=i.replaceText(n,d,t,v,y),r=u.set(r,{currentContent:n})}));var a=f(r,l(t)).selectionState;t.restoreEditorDOM();var s=g?u.forceSelection(r,a):u.acceptSelection(r,a);t.update(u.push(s,n,"insert-characters"))}else t.update(r)}}};t.exports=m},jl2H:function(t,e,r){"use strict";t.exports=function(t){if(void 0===(t=t||("undefined"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}},jyDg:function(t,e,r){"use strict";var n=r("fyOY"),i=r("Iq8E"),o=r("3sOJ"),u=r("CYTE"),a=r("Gn5D").notEmptyKey,s=r("kc9Y"),c=r("3Br+"),l=r("gWRK"),f=u.isEngine("Gecko");t.exports=function(t,e){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var r=t.editor.ownerDocument.defaultView.getSelection(),u=r.anchorNode,p=r.isCollapsed,h=(null==u?void 0:u.nodeType)!==Node.TEXT_NODE&&(null==u?void 0:u.nodeType)!==Node.ELEMENT_NODE;if(null!=u&&!h){if(u.nodeType===Node.TEXT_NODE&&(null!==u.previousSibling||null!==u.nextSibling)){var g=u.parentNode;if(null==g)return;u.nodeValue=g.textContent;for(var d=g.firstChild;null!=d;d=d.nextSibling)d!==u&&g.removeChild(d)}var y=u.textContent,v=t._latestEditorState,m=l(s(u)),_=i.decode(m),S=_.blockKey,b=_.decoratorKey,w=_.leafKey,k=v.getBlockTree(S).getIn([b,"leaves",w]),x=k.start,C=k.end,E=v.getCurrentContent(),O=E.getBlockForKey(S),D=O.getText().slice(x,C);if(y.endsWith("\n\n")&&(y=y.slice(0,-1)),y!==D){var K,T,M,I,A=v.getSelection(),B=A.merge({anchorOffset:x,focusOffset:C,isBackward:!1}),L=O.getEntityAt(x),R=a(L)?E.getEntity(L):null,F="MUTABLE"===(null!=R?R.getMutability():null),N=F?"spellcheck-change":"apply-entity",P=n.replaceText(E,B,y,O.getInlineStyleAt(x),F?O.getEntityAt(x):null);if(f)K=r.anchorOffset,T=r.focusOffset,I=(M=x+Math.min(K,T))+Math.abs(K-T),K=M,T=I;else{var j=y.length-D.length;M=A.getStartOffset(),I=A.getEndOffset(),K=p?I+j:M,T=I+j}var z=P.merge({selectionBefore:E.getSelectionAfter(),selectionAfter:A.merge({anchorOffset:K,focusOffset:T})});t.update(o.push(v,z,N))}else{var U=e.nativeEvent.inputType;if(U){var J=function(t,e){switch(t){case"deleteContentBackward":return c(e)}return e}(U,v);if(J!==v)return t.restoreEditorDOM(),void t.update(J)}}}}},kDkJ:function(t,e,r){"use strict";var n=r("YeVe"),i=r("lFJn"),o=r("QvxS"),u=r("fyOY"),a=r("PQhE"),s=r("3sOJ"),c=r("Nx4+"),l=r("hpMJ"),f=r("HKS5"),p=r("T401"),h=r("RK+W");function g(t,e,r){var n=u.replaceWithFragment(t.getCurrentContent(),t.getSelection(),e);return s.push(t,n.set("entityMap",r),"insert-fragment")}t.exports=function(t,e){e.preventDefault();var r=new o(e.clipboardData);if(!r.isRichText()){var d=r.getFiles(),y=r.getText();if(d.length>0){if(t.props.handlePastedFiles&&p(t.props.handlePastedFiles(d)))return;return void f(d,(function(e){if(e=e||y){var r=t._latestEditorState,o=h(e),f=i.create({style:r.getCurrentInlineStyle(),entity:l(r.getCurrentContent(),r.getSelection())}),p=c.getCurrentBlockType(r),g=a.processText(o,f,p),d=n.createFromArray(g),v=u.replaceWithFragment(r.getCurrentContent(),r.getSelection(),d);t.update(s.push(r,v,"insert-fragment"))}}))}}var v=[],m=r.getText(),_=r.getHTML(),S=t._latestEditorState;if(t.props.formatPastedText){var b=t.props.formatPastedText(m,_);m=b.text,_=b.html}if(!t.props.handlePastedText||!p(t.props.handlePastedText(m,_,S))){if(m&&(v=h(m)),!t.props.stripPastedStyles){var w,k=t.getClipboard();if(!t.props.formatPastedText&&r.isRichText()&&k){if(-1!==(null===(w=_)||void 0===w?void 0:w.indexOf(t.getEditorKey()))||1===v.length&&1===k.size&&k.first().getText()===m)return void t.update(g(t._latestEditorState,k))}else if(k&&r.types.includes("com.apple.webarchive")&&!r.types.includes("text/html")&&function(t,e){return t.length===e.size&&e.valueSeq().every((function(e,r){return e.getText()===t[r]}))}(v,k))return void t.update(g(t._latestEditorState,k));if(_){var x=a.processHTML(_,t.props.blockRenderMap);if(x){var C=x.contentBlocks,E=x.entityMap;if(C){var O=n.createFromArray(C);return void t.update(g(t._latestEditorState,O,E))}}}t.setClipboard(null)}if(v.length){var D=i.create({style:S.getCurrentInlineStyle(),entity:l(S.getCurrentContent(),S.getSelection())}),K=c.getCurrentBlockType(S),T=a.processText(v,D,K),M=n.createFromArray(T);t.update(g(t._latestEditorState,M))}}}},kE58:function(t,e,r){"use strict";var n=r("7wDu");t.exports=function(t){return t.which===n.RETURN&&(t.getModifierState("Shift")||t.getModifierState("Alt")||t.getModifierState("Control"))}},kWjT:function(t,e,r){"use strict";r("2mcs");t.exports=function(t,e){var r=t.getSelection(),n=t.getCurrentContent(),i=r.getStartKey(),o=r.getStartOffset(),u=i,a=0;if(e>o){var s=n.getKeyBefore(i);if(null==s)u=i;else u=s,a=n.getBlockForKey(s).getText().length}else a=o-e;return r.merge({focusKey:u,focusOffset:a,isBackward:!0})}},kc9Y:function(t,e,r){"use strict";var n=r("F09w"),i=r("zORg");t.exports=function(t){for(var e=t;e&&e!==n(t).documentElement;){var r=i(e);if(null!=r)return r;e=e.parentNode}return null}},lFJn:function(t,e,r){"use strict";var n=r("JPcv"),i=n.Map,o=n.OrderedSet,u=n.Record,a=o(),s={style:a,entity:null},c=function(t){var e,r;function n(){return t.apply(this,arguments)||this}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var u=n.prototype;return u.getStyle=function(){return this.get("style")},u.getEntity=function(){return this.get("entity")},u.hasStyle=function(t){return this.getStyle().includes(t)},n.applyStyle=function(t,e){var r=t.set("style",t.getStyle().add(e));return n.create(r)},n.removeStyle=function(t,e){var r=t.set("style",t.getStyle().remove(e));return n.create(r)},n.applyEntity=function(t,e){var r=t.getEntity()===e?t:t.set("entity",e);return n.create(r)},n.create=function(t){if(!t)return l;var e=i({style:a,entity:null}).merge(t),r=f.get(e);if(r)return r;var o=new n(e);return f=f.set(e,o),o},n.fromJS=function(t){var e=t.style,r=t.entity;return new n({style:Array.isArray(e)?o(e):e,entity:Array.isArray(r)?o(r):r})},n}(u(s)),l=new c,f=i([[i(s),l]]);c.EMPTY=l,t.exports=c},m75S:function(t,e,r){"use strict";t.exports={initODS:function(){},handleExtensionCausedError:function(){}}},mjHj:function(t,e,r){"use strict";var n=r("2NuI"),i="LTR",o=null;function u(t){return t===i||"RTL"===t}function a(t){return u(t)||n(!1),t===i?"ltr":"rtl"}function s(t){o=t}var c={NEUTRAL:"NEUTRAL",LTR:i,RTL:"RTL",isStrong:u,getHTMLDir:a,getHTMLDirIfDifferent:function(t,e){return u(t)||n(!1),u(e)||n(!1),t===e?null:a(t)},setGlobalDir:s,initGlobalDir:function(){s(i)},getGlobalDir:function(){return o||this.initGlobalDir(),o||n(!1),o}};t.exports=c},ocgx:function(t,e,r){"use strict";var n=r("fyOY"),i=r("3sOJ"),o=r("DYKh");t.exports=function(t){var e=t.getSelection();if(!e.isCollapsed())return t;var r=e.getAnchorOffset();if(0===r)return t;var u,a,s=e.getAnchorKey(),c=t.getCurrentContent(),l=c.getBlockForKey(s).getLength();if(l<=1)return t;r===l?(u=e.set("anchorOffset",r-1),a=e):a=(u=e.set("focusOffset",r+1)).set("anchorOffset",r+1);var f=o(c,u),p=n.removeRange(c,u,"backward"),h=p.getSelectionAfter(),g=h.getAnchorOffset()-1,d=h.merge({anchorOffset:g,focusOffset:g}),y=n.replaceWithFragment(p,d,f),v=i.push(t,y,"insert-fragment");return i.acceptSelection(v,a)}},p1kU:function(t,e,r){"use strict";var n=r("iatg");t.exports=function(t){var e=n(t);return{x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}}},pg4M:function(t,e,r){"use strict";var n=r("3sOJ"),i=r("CYTE");t.exports=function(t,e){var r=t._latestEditorState,o=r.getSelection();if(!o.getHasFocus()){var u=o.set("hasFocus",!0);t.props.onFocus&&t.props.onFocus(e),i.isBrowser("Chrome < 60.0.3081.0")?t.update(n.forceSelection(r,u)):t.update(n.acceptSelection(r,u))}}},prOm:function(t,e,r){"use strict";function n(t,e){return!!e&&(t===e.documentElement||t===e.body)}var i={getTop:function(t){var e=t.ownerDocument;return n(t,e)?e.body.scrollTop||e.documentElement.scrollTop:t.scrollTop},setTop:function(t,e){var r=t.ownerDocument;n(t,r)?r.body.scrollTop=r.documentElement.scrollTop=e:t.scrollTop=e},getLeft:function(t){var e=t.ownerDocument;return n(t,e)?e.body.scrollLeft||e.documentElement.scrollLeft:t.scrollLeft},setLeft:function(t,e){var r=t.ownerDocument;n(t,r)?r.body.scrollLeft=r.documentElement.scrollLeft=e:t.scrollLeft=e}};t.exports=i},qnky:function(t,e,r){"use strict";var n=function(t){var e,r;function n(){return t.apply(this,arguments)||this}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var i=n.prototype;return i.getType=function(){return this.get("type")},i.getMutability=function(){return this.get("mutability")},i.getData=function(){return this.get("data")},n}((0,r("JPcv").Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object}));t.exports=n},quS2:function(t,e,r){"use strict";r("2mcs");var n={isValidBlock:function(t,e){var r=t.getKey(),n=t.getParentKey();if(null!=n&&!e.get(n).getChildKeys().includes(r))return!1;if(!t.getChildKeys().map((function(t){return e.get(t)})).every((function(t){return t.getParentKey()===r})))return!1;var i=t.getPrevSiblingKey();if(null!=i&&e.get(i).getNextSiblingKey()!==r)return!1;var o=t.getNextSiblingKey();if(null!=o&&e.get(o).getPrevSiblingKey()!==r)return!1;return(null===o||null===i||i!==o)&&!(""!=t.text&&t.getChildKeys().size>0)},isConnectedTree:function(t){var e=t.toArray().filter((function(t){return null==t.getParentKey()&&null==t.getPrevSiblingKey()}));if(1!==e.length)return!1;for(var r=0,n=e.shift().getKey(),i=[];null!=n;){var o=t.get(n),u=o.getChildKeys(),a=o.getNextSiblingKey();if(u.size>0){null!=a&&i.unshift(a);var s=u.map((function(e){return t.get(e)})).find((function(t){return null==t.getPrevSiblingKey()}));if(null==s)return!1;n=s.getKey()}else n=null!=o.getNextSiblingKey()?o.getNextSiblingKey():i.shift();r++}return r===t.size},isValidTree:function(t){var e=this;return!!t.toArray().every((function(r){return e.isValidBlock(r,t)}))&&this.isConnectedTree(t)}};t.exports=n},qy1W:function(t,e,r){"use strict";var n=r("2NuI");t.exports=function(t){return function(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"length"in t&&!("setInterval"in t)&&"number"!=typeof t.nodeType&&(Array.isArray(t)||"callee"in t||"item"in t)}(t)?Array.isArray(t)?t.slice():function(t){var e=t.length;if((Array.isArray(t)||"object"!=typeof t&&"function"!=typeof t)&&n(!1),"number"!=typeof e&&n(!1),0===e||e-1 in t||n(!1),"function"==typeof t.callee&&n(!1),t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch(t){}for(var r=Array(e),i=0;i<e;i++)r[i]=t[i];return r}(t):[t]}},rAV9:function(t,e,r){"use strict";var n=r("q1tI"),i=r("YVIB"),o=(0,r("JPcv").Map)({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},section:{element:"section"},article:{element:"article"},"unordered-list-item":{element:"li",wrapper:n.createElement("ul",{className:i("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:n.createElement("ol",{className:i("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:n.createElement("pre",{className:i("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}});t.exports=o},rJY1:function(t,e,r){"use strict";var n={},i=Math.pow(2,24);t.exports=function(){for(var t;void 0===t||n.hasOwnProperty(t)||!isNaN(+t);)t=Math.floor(Math.random()*i).toString(32);return n[t]=!0,t}},rWXM:function(t,e,r){"use strict";t.exports=function(t){var e={};return function(r){return e.hasOwnProperty(r)||(e[r]=t.call(this,r)),e[r]}}},s8ra:function(t,e,r){"use strict";var n=r("CYTE"),i=r("kE58"),o=n.isPlatform("Mac OS X"),u={isCtrlKeyCommand:function(t){return!!t.ctrlKey&&!t.altKey},isOptionKeyCommand:function(t){return o&&t.altKey},usesMacOSHeuristics:function(){return o},hasCommandModifier:function(t){return o?!!t.metaKey&&!t.altKey:u.isCtrlKeyCommand(t)},isSoftNewlineEvent:i};t.exports=u},t4mE:function(t,e,r){var n=r("R/W3");t.exports=function(t,e){for(var r=-1,i=t.length;++r<i&&n(e,t[r],0)>-1;);return r}},tKWh:function(t,e,r){"use strict";function n(){var t=void 0;return document.documentElement&&(t=document.documentElement.clientWidth),!t&&document.body&&(t=document.body.clientWidth),t||0}function i(){var t=void 0;return document.documentElement&&(t=document.documentElement.clientHeight),!t&&document.body&&(t=document.body.clientHeight),t||0}function o(){return{width:window.innerWidth||n(),height:window.innerHeight||i()}}o.withoutScrollbars=function(){return{width:n(),height:i()}},t.exports=o},tuJh:function(t,e,r){"use strict";var n=r("3sOJ"),i=r("jLRO"),o=r("DEWG"),u=r("8d//");t.exports=function(t){var e=u(t,(function(t){var e=t.getSelection(),r=t.getCurrentContent(),n=e.getAnchorKey(),u=e.getAnchorOffset(),a=r.getBlockForKey(n).getText()[u];return o(t,a?i.getUTF16Length(a,0):1)}),"forward");if(e===t.getCurrentContent())return t;var r=t.getSelection();return n.push(t,e.set("selectionBefore",r),r.isCollapsed()?"delete-character":"remove-range")}},ubb0:function(t,e,r){"use strict";var n=r("i8i4").unstable_flushControlled;t.exports=n},ueFs:function(t,e,r){"use strict";function n(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){i(t,e,r[e])}))}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r("8uQm"),u=r("JL7T"),a=r("LpQA"),s=r("TzU/"),c=r("PFU8"),l=(r("quS2"),r("hMpd")),f=r("TlXQ"),p=r("bNdj"),h=r("RCR6"),g=r("rJY1"),d=r("cwFY"),y=r("JPcv"),v=r("2NuI"),m=d("draft_tree_data_support"),_=y.List,S=y.Map,b=y.OrderedMap,w=function(t,e){var r=t.key,n=t.type,i=t.data;return{text:t.text,depth:t.depth||0,type:n||"unstyled",key:r||g(),data:S(i),characterList:k(t,e)}},k=function(t,e){var r=t.text,i=t.entityRanges,o=t.inlineStyleRanges,u=i||[];return f(h(r,o||[]),p(r,u.filter((function(t){return e.hasOwnProperty(t.key)})).map((function(t){return n({},t,{key:e[t.key]})}))))},x=function(t){return n({},t,{key:t.key||g()})},C=function(t,e,r){var i=e.map((function(t){return n({},t,{parentRef:r})}));return t.concat(i.reverse())},E=function(t,e){var r=t.blocks.find((function(t){return Array.isArray(t.children)&&t.children.length>0})),i=m&&!r?c.fromRawStateToRawTreeState(t).blocks:t.blocks;return m?function(t,e){return t.map(x).reduce((function(r,i,o){Array.isArray(i.children)||v(!1);var a=i.children.map(x),s=new u(n({},w(i,e),{prevSibling:0===o?null:t[o-1].key,nextSibling:o===t.length-1?null:t[o+1].key,children:_(a.map((function(t){return t.key})))}));r=r.set(s.getKey(),s);for(var c=C([],a,s);c.length>0;){var l=c.pop(),f=l.parentRef,p=f.getChildKeys(),h=p.indexOf(l.key),g=Array.isArray(l.children);if(!g){g||v(!1);break}var d=l.children.map(x),y=new u(n({},w(l,e),{parent:f.getKey(),children:_(d.map((function(t){return t.key}))),prevSibling:0===h?null:p.get(h-1),nextSibling:h===p.size-1?null:p.get(h+1)}));r=r.set(y.getKey(),y),c=C(c,d,y)}return r}),b())}(i,e):function(t,e){return b(t.map((function(t){var r=new o(w(t,e));return[r.getKey(),r]})))}(r?c.fromRawTreeStateToRawState(t).blocks:i,e)};t.exports=function(t){Array.isArray(t.blocks)||v(!1);var e=function(t){var e=t.entityMap,r={};return Object.keys(e).forEach((function(t){var n=e[t],i=n.type,o=n.mutability,u=n.data;r[t]=s.__create(i,o,u||{})})),r}(t),r=E(t,e),n=r.isEmpty()?new l:l.createEmpty(r.first().getKey());return new a({blockMap:r,entityMap:e,selectionBefore:n,selectionAfter:n})}},ujuU:function(t,e,r){"use strict";var n=r("3sOJ");t.exports=function(t){var e=t.getSelection(),r=e.getStartKey();return n.set(t,{selection:e.merge({anchorKey:r,anchorOffset:0,focusKey:r,focusOffset:0,isBackward:!1}),forceSelection:!0})}},v83y:function(t,e,r){"use strict";var n=r("fyRy"),i=r("YeVe"),o=r("lFJn"),u=r("84lc"),a=r("8uQm"),s=r("LpQA"),c=r("rAV9"),l=r("0TRD"),f=r("6tyx"),p=r("DthY"),h=r("TzU/"),g=r("fyOY"),d=r("qnky"),y=r("3sOJ"),v=r("s8ra"),m=r("7Pus"),_=r("Nx4+"),S=r("hMpd"),b=r("/y+l"),w=r("ueFs"),k=r("rJY1"),x=r("AyB5"),C=r("zxN+"),E={Editor:f,EditorBlock:p,EditorState:y,CompositeDecorator:u,Entity:h,EntityInstance:d,BlockMapBuilder:i,CharacterMetadata:o,ContentBlock:a,ContentState:s,RawDraftContentState:m,SelectionState:S,AtomicBlockUtils:n,KeyBindingUtil:v,Modifier:g,RichUtils:_,DefaultDraftBlockRenderMap:c,DefaultDraftInlineStyle:l,convertFromHTML:r("1qq2"),convertFromRaw:w,convertToRaw:b,genKey:k,getDefaultKeyBinding:x,getVisibleSelectionRect:C};t.exports=E},vYwu:function(t,e,r){"use strict";var n=r("lFJn");t.exports=function(t,e,r,i){for(var o=e,u=t.getCharacterList();o<r;)u=u.set(o,n.applyEntity(u.get(o),i)),o++;return t.set("characterList",u)}},vcNX:function(t,e,r){"use strict";var n=r("SF5q"),i=r("3sOJ"),o=r("kWjT"),u=r("8d//");t.exports=function(t){var e=u(t,(function(t){var e=t.getSelection(),r=e.getStartOffset();if(0===r)return o(t,1);var i=e.getStartKey(),u=t.getCurrentContent().getBlockForKey(i).getText().slice(0,r),a=n.getBackward(u);return o(t,a.length||1)}),"backward");return e===t.getCurrentContent()?t:i.push(t,e,"remove-range")}},xocI:function(t,e,r){"use strict";var n=r("CYTE"),i=r("2NuI"),o=n.isBrowser("IE <= 9");t.exports=function(t){var e,r=null;return!o&&document.implementation&&document.implementation.createHTMLDocument&&((e=document.implementation.createHTMLDocument("foo")).documentElement||i(!1),e.documentElement.innerHTML=t,r=e.getElementsByTagName("body")[0]),r}},y0lr:function(t,e,r){"use strict";var n=r("QDEm"),i=r("CJXx"),o=r("Iq8E"),u=r("JPcv"),a=r("q1tI"),s=r("YVIB"),c=(u.List,function(t){var e,r;function u(){return t.apply(this,arguments)||this}return r=t,(e=u).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r,u.prototype.render=function(){var t=this.props,e=t.block,r=t.contentState,u=t.customStyleFn,c=t.customStyleMap,l=t.decorator,f=t.direction,p=t.forceSelection,h=t.hasSelection,g=t.selection,d=t.tree,y=e.getKey(),v=e.getText(),m=d.size-1,_=this.props.children||d.map((function(t,s){var d=t.get("decoratorKey"),_=t.get("leaves"),S=_.size-1,b=_.map((function(t,r){var n=o.encode(y,s,r),l=t.get("start"),f=t.get("end");return a.createElement(i,{key:n,offsetKey:n,block:e,start:l,selection:h?g:null,forceSelection:p,text:v.slice(l,f),styleSet:e.getInlineStyleAt(l),customStyleMap:c,customStyleFn:u,isLast:d===m&&r===S})})).toArray();return d&&l?a.createElement(n,{block:e,children:b,contentState:r,decorator:l,decoratorKey:d,direction:f,leafSet:t,text:v,key:s}):b})).toArray();return a.createElement("div",{"data-offset-key":o.encode(y,0,0),className:s({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===f,"public/DraftStyleDefault/rtl":"RTL"===f})},_)},u}(a.Component));t.exports=c},yxyD:function(t,e,r){"use strict";var n=r("jLRO"),i=r("Taje"),o=function(t,e){return t===e},u=function(t){return!!t},a=[];t.exports=function(t){var e=t.getCharacterList().map((function(t){return t.getStyle()})).toList(),r=e.flatten().toSet().map((function(r){return function(t,e,r){var a=[],s=e.map((function(t){return t.has(r)})).toList();return i(s,o,u,(function(e,i){var o=t.getText();a.push({offset:n.strlen(o.slice(0,e)),length:n.strlen(o.slice(e,i)),style:r})})),a}(t,e,r)}));return Array.prototype.concat.apply(a,r.toJS())}},zORg:function(t,e,r){"use strict";var n=r("GyOf");t.exports=function t(e){if(n(e)){var r=e,i=r.getAttribute("data-offset-key");if(i)return i;for(var o=0;o<r.childNodes.length;o++){var u=t(r.childNodes[o]);if(u)return u}}return null}},zlY5:function(t,e,r){"use strict";var n=r("158f");t.exports=function(t){var e=n(t),r=0,i=0,o=0,u=0;if(e.length){if(e.length>1&&0===e[0].width){var a=e[1];r=a.top,i=a.right,o=a.bottom,u=a.left}else{var s=e[0];r=s.top,i=s.right,o=s.bottom,u=s.left}for(var c=1;c<e.length;c++){var l=e[c];0!==l.height&&0!==l.width&&(r=Math.min(r,l.top),i=Math.max(i,l.right),o=Math.max(o,l.bottom),u=Math.min(u,l.left))}}return{top:r,right:i,bottom:o,left:u,width:i-u,height:o-r}}},"zxN+":function(t,e,r){"use strict";var n=r("zlY5");t.exports=function(t){var e=t.getSelection();if(!e.rangeCount)return null;var r=e.getRangeAt(0),i=n(r),o=i.top,u=i.right,a=i.bottom,s=i.left;return 0===o&&0===u&&0===a&&0===s?null:i}}}]);